mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 04:22:29 +00:00
corrected comment (bug #346755).
2006-07-06 Sven Neumann <sven@gimp.org> * app/core/gimpimage.[ch]: corrected comment (bug #346755).
This commit is contained in:
parent
12c0d80853
commit
e28ba685cf
|
@ -1,3 +1,7 @@
|
|||
2006-07-06 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/gimpimage.[ch]: corrected comment (bug #346755).
|
||||
|
||||
2006-07-06 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/xcf/xcf-save.c (xcf_save_image_props): removed redundant
|
||||
|
|
|
@ -2327,7 +2327,7 @@ gimp_image_get_new_tattoo (GimpImage *image)
|
|||
|
||||
image->tattoo_state++;
|
||||
|
||||
if (image->tattoo_state <= 0)
|
||||
if (G_UNLIKELY (image->tattoo_state == 0))
|
||||
g_warning ("%s: Tattoo state corrupted (integer overflow).", G_STRFUNC);
|
||||
|
||||
return image->tattoo_state;
|
||||
|
@ -2351,7 +2351,7 @@ gimp_image_set_tattoo_state (GimpImage *image,
|
|||
|
||||
g_return_val_if_fail (GIMP_IS_IMAGE (image), FALSE);
|
||||
|
||||
/* Check that the layer tatoos don't overlap with channel or vector ones */
|
||||
/* Check that the layer tattoos don't overlap with channel or vector ones */
|
||||
for (list = GIMP_LIST (image->layers)->list;
|
||||
list;
|
||||
list = g_list_next (list))
|
||||
|
|
|
@ -121,7 +121,7 @@ struct _GimpImage
|
|||
gint instance_count; /* number of instances */
|
||||
gint disp_count; /* number of displays */
|
||||
|
||||
GimpTattoo tattoo_state; /* the next unique tattoo to use*/
|
||||
GimpTattoo tattoo_state; /* the last used tattoo */
|
||||
|
||||
TileManager *shadow; /* shadow buffer tiles */
|
||||
|
||||
|
@ -425,11 +425,11 @@ gint gimp_image_get_vectors_index (const GimpImage *image,
|
|||
const GimpVectors *vectors);
|
||||
|
||||
GimpLayer * gimp_image_get_layer_by_tattoo (const GimpImage *image,
|
||||
GimpTattoo tatoo);
|
||||
GimpTattoo tattoo);
|
||||
GimpChannel * gimp_image_get_channel_by_tattoo (const GimpImage *image,
|
||||
GimpTattoo tatoo);
|
||||
GimpTattoo tattoo);
|
||||
GimpVectors * gimp_image_get_vectors_by_tattoo (const GimpImage *image,
|
||||
GimpTattoo tatoo);
|
||||
GimpTattoo tattoo);
|
||||
|
||||
GimpLayer * gimp_image_get_layer_by_name (const GimpImage *image,
|
||||
const gchar *name);
|
||||
|
|
Loading…
Reference in a new issue