return a GimpUndo* instead of gboolean from all undo_push functions.
2007-01-29 Michael Natterer <mitch@gimp.org> * app/core/gimpimage-undo-push.[ch]: return a GimpUndo* instead of gboolean from all undo_push functions. Simplifies the new properly done functions quite a bit. svn path=/trunk/; revision=21800
This commit is contained in:

committed by
Michael Natterer

parent
e9b9f1bfd1
commit
9a7de0552d
@ -1,3 +1,9 @@
|
||||
2007-01-29 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/core/gimpimage-undo-push.[ch]: return a GimpUndo* instead
|
||||
of gboolean from all undo_push functions. Simplifies the new
|
||||
properly done functions quite a bit.
|
||||
|
||||
2007-01-29 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/core/Makefile.am
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -22,28 +22,28 @@
|
||||
|
||||
/* image undos */
|
||||
|
||||
gboolean gimp_image_undo_push_image_type (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_image_type (GimpImage *image,
|
||||
const gchar *undo_desc);
|
||||
gboolean gimp_image_undo_push_image_size (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_image_size (GimpImage *image,
|
||||
const gchar *undo_desc);
|
||||
gboolean gimp_image_undo_push_image_resolution (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_image_resolution (GimpImage *image,
|
||||
const gchar *undo_desc);
|
||||
gboolean gimp_image_undo_push_image_guide (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_image_guide (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpGuide *guide);
|
||||
gboolean gimp_image_undo_push_image_grid (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_image_grid (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpGrid *grid);
|
||||
gboolean gimp_image_undo_push_image_sample_point (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_image_sample_point (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpSamplePoint *sample_point);
|
||||
gboolean gimp_image_undo_push_image_colormap (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_image_colormap (GimpImage *image,
|
||||
const gchar *undo_desc);
|
||||
|
||||
|
||||
/* drawable undo */
|
||||
|
||||
gboolean gimp_image_undo_push_drawable (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_drawable (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpDrawable *drawable,
|
||||
TileManager *tiles,
|
||||
@ -52,157 +52,157 @@ gboolean gimp_image_undo_push_drawable (GimpImage *image,
|
||||
gint y,
|
||||
gint width,
|
||||
gint height);
|
||||
gboolean gimp_image_undo_push_drawable_mod (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_drawable_mod (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpDrawable *drawable);
|
||||
|
||||
|
||||
/* mask undo */
|
||||
|
||||
gboolean gimp_image_undo_push_mask (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_mask (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpChannel *mask);
|
||||
|
||||
|
||||
/* item undos */
|
||||
|
||||
gboolean gimp_image_undo_push_item_rename (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_item_rename (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpItem *item);
|
||||
gboolean gimp_image_undo_push_item_displace (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_item_displace (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpItem *item);
|
||||
gboolean gimp_image_undo_push_item_visibility (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_item_visibility (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpItem *item);
|
||||
gboolean gimp_image_undo_push_item_linked (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_item_linked (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpItem *item);
|
||||
|
||||
|
||||
/* layer undos */
|
||||
|
||||
gboolean gimp_image_undo_push_layer_add (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_layer_add (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpLayer *layer,
|
||||
gint prev_position,
|
||||
GimpLayer *prev_layer);
|
||||
gboolean gimp_image_undo_push_layer_remove (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_layer_remove (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpLayer *layer,
|
||||
gint prev_position,
|
||||
GimpLayer *prev_layer);
|
||||
gboolean gimp_image_undo_push_layer_reposition (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_layer_reposition (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpLayer *layer);
|
||||
gboolean gimp_image_undo_push_layer_mode (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_layer_mode (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpLayer *layer);
|
||||
gboolean gimp_image_undo_push_layer_opacity (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_layer_opacity (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpLayer *layer);
|
||||
gboolean gimp_image_undo_push_layer_lock_alpha (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_layer_lock_alpha (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpLayer *layer);
|
||||
|
||||
|
||||
/* text layer undos */
|
||||
|
||||
gboolean gimp_image_undo_push_text_layer (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_text_layer (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpTextLayer *layer,
|
||||
const GParamSpec *pspec);
|
||||
gboolean gimp_image_undo_push_text_layer_modified (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_text_layer_modified (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpTextLayer *layer);
|
||||
|
||||
|
||||
/* layer mask undos */
|
||||
|
||||
gboolean gimp_image_undo_push_layer_mask_add (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_layer_mask_add (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpLayer *layer,
|
||||
GimpLayerMask *mask);
|
||||
gboolean gimp_image_undo_push_layer_mask_remove (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_layer_mask_remove (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpLayer *layer,
|
||||
GimpLayerMask *mask);
|
||||
gboolean gimp_image_undo_push_layer_mask_apply (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_layer_mask_apply (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpLayerMask *mask);
|
||||
gboolean gimp_image_undo_push_layer_mask_show (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_layer_mask_show (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpLayerMask *mask);
|
||||
|
||||
|
||||
/* channel undos */
|
||||
|
||||
gboolean gimp_image_undo_push_channel_add (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_channel_add (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpChannel *channel,
|
||||
gint prev_position,
|
||||
GimpChannel *prev_channel);
|
||||
gboolean gimp_image_undo_push_channel_remove (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_channel_remove (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpChannel *channel,
|
||||
gint prev_position,
|
||||
GimpChannel *prev_channel);
|
||||
gboolean gimp_image_undo_push_channel_reposition (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_channel_reposition (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpChannel *channel);
|
||||
gboolean gimp_image_undo_push_channel_color (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_channel_color (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpChannel *channel);
|
||||
|
||||
|
||||
/* vectors undos */
|
||||
|
||||
gboolean gimp_image_undo_push_vectors_add (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_vectors_add (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpVectors *vectors,
|
||||
gint prev_position,
|
||||
GimpVectors *prev_vectors);
|
||||
gboolean gimp_image_undo_push_vectors_remove (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_vectors_remove (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpVectors *channel,
|
||||
gint prev_position,
|
||||
GimpVectors *prev_vectors);
|
||||
gboolean gimp_image_undo_push_vectors_mod (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_vectors_mod (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpVectors *vectors);
|
||||
gboolean gimp_image_undo_push_vectors_reposition (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_vectors_reposition (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpVectors *vectors);
|
||||
|
||||
|
||||
/* floating selection undos */
|
||||
|
||||
gboolean gimp_image_undo_push_fs_to_layer (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_fs_to_layer (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpLayer *floating_layer,
|
||||
GimpDrawable *drawable);
|
||||
gboolean gimp_image_undo_push_fs_rigor (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_fs_rigor (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpLayer *floating_layer);
|
||||
gboolean gimp_image_undo_push_fs_relax (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_fs_relax (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpLayer *floating_layer);
|
||||
|
||||
|
||||
/* parasite undos */
|
||||
|
||||
gboolean gimp_image_undo_push_image_parasite (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_image_parasite (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
const GimpParasite *parasite);
|
||||
gboolean gimp_image_undo_push_image_parasite_remove (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_image_parasite_remove (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
const gchar *name);
|
||||
|
||||
gboolean gimp_image_undo_push_item_parasite (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_item_parasite (GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpItem *item,
|
||||
const GimpParasite *parasite);
|
||||
gboolean gimp_image_undo_push_item_parasite_remove (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_item_parasite_remove(GimpImage *image,
|
||||
const gchar *undo_desc,
|
||||
GimpItem *item,
|
||||
const gchar *name);
|
||||
@ -210,7 +210,7 @@ gboolean gimp_image_undo_push_item_parasite_remove (GimpImage *image,
|
||||
|
||||
/* EEK undo */
|
||||
|
||||
gboolean gimp_image_undo_push_cantundo (GimpImage *image,
|
||||
GimpUndo * gimp_image_undo_push_cantundo (GimpImage *image,
|
||||
const gchar *undo_desc);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user