mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
removed "context" parameter from GimpItem::stroke(), it's not needed any
2005-07-12 Michael Natterer <mitch@gimp.org> * app/core/gimpitem.[ch]: removed "context" parameter from GimpItem::stroke(), it's not needed any longer. * app/core/gimpchannel.c * app/core/gimpselection.c * app/vectors/gimpvectors.c: changed accordingly.
This commit is contained in:
parent
470c11a8f0
commit
c9c9640a22
|
@ -1,3 +1,12 @@
|
|||
2005-07-12 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/core/gimpitem.[ch]: removed "context" parameter from
|
||||
GimpItem::stroke(), it's not needed any longer.
|
||||
|
||||
* app/core/gimpchannel.c
|
||||
* app/core/gimpselection.c
|
||||
* app/vectors/gimpvectors.c: changed accordingly.
|
||||
|
||||
2005-07-12 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/tools/gimppaintoptions-gui.c (gimp_paint_options_gui):
|
||||
|
|
|
@ -123,7 +123,6 @@ static void gimp_channel_transform (GimpItem *item,
|
|||
GimpProgress *progress);
|
||||
static gboolean gimp_channel_stroke (GimpItem *item,
|
||||
GimpDrawable *drawable,
|
||||
GimpContext *context,
|
||||
GimpStrokeDesc *stroke_desc);
|
||||
|
||||
static void gimp_channel_invalidate_boundary (GimpDrawable *drawable);
|
||||
|
@ -715,7 +714,6 @@ gimp_channel_transform (GimpItem *item,
|
|||
static gboolean
|
||||
gimp_channel_stroke (GimpItem *item,
|
||||
GimpDrawable *drawable,
|
||||
GimpContext *context,
|
||||
GimpStrokeDesc *stroke_desc)
|
||||
|
||||
{
|
||||
|
|
|
@ -999,7 +999,7 @@ gimp_item_stroke (GimpItem *item,
|
|||
gimp_image_undo_group_start (gimage, GIMP_UNDO_GROUP_PAINT,
|
||||
item_class->stroke_desc);
|
||||
|
||||
retval = item_class->stroke (item, drawable, context, stroke_desc);
|
||||
retval = item_class->stroke (item, drawable, stroke_desc);
|
||||
|
||||
gimp_image_undo_group_end (gimage);
|
||||
|
||||
|
|
|
@ -112,7 +112,6 @@ struct _GimpItemClass
|
|||
GimpProgress *progress);
|
||||
gboolean (* stroke) (GimpItem *item,
|
||||
GimpDrawable *drawable,
|
||||
GimpContext *context,
|
||||
GimpStrokeDesc *stroke_desc);
|
||||
|
||||
const gchar *default_name;
|
||||
|
|
|
@ -76,7 +76,6 @@ static void gimp_selection_rotate (GimpItem *item,
|
|||
gboolean clip_result);
|
||||
static gboolean gimp_selection_stroke (GimpItem *item,
|
||||
GimpDrawable *drawable,
|
||||
GimpContext *context,
|
||||
GimpStrokeDesc *stroke_desc);
|
||||
|
||||
static void gimp_selection_invalidate_boundary (GimpDrawable *drawable);
|
||||
|
@ -285,7 +284,6 @@ gimp_selection_rotate (GimpItem *item,
|
|||
static gboolean
|
||||
gimp_selection_stroke (GimpItem *item,
|
||||
GimpDrawable *drawable,
|
||||
GimpContext *context,
|
||||
GimpStrokeDesc *stroke_desc)
|
||||
{
|
||||
GimpSelection *selection = GIMP_SELECTION (item);
|
||||
|
@ -306,8 +304,7 @@ gimp_selection_stroke (GimpItem *item,
|
|||
|
||||
selection->stroking = TRUE;
|
||||
|
||||
retval = GIMP_ITEM_CLASS (parent_class)->stroke (item, drawable, context,
|
||||
stroke_desc);
|
||||
retval = GIMP_ITEM_CLASS (parent_class)->stroke (item, drawable, stroke_desc);
|
||||
|
||||
selection->stroking = FALSE;
|
||||
|
||||
|
|
|
@ -111,7 +111,6 @@ static void gimp_vectors_transform (GimpItem *item,
|
|||
GimpProgress *progress);
|
||||
static gboolean gimp_vectors_stroke (GimpItem *item,
|
||||
GimpDrawable *drawable,
|
||||
GimpContext *context,
|
||||
GimpStrokeDesc *stroke_desc);
|
||||
|
||||
static void gimp_vectors_real_thaw (GimpVectors *vectors);
|
||||
|
@ -533,7 +532,6 @@ gimp_vectors_transform (GimpItem *item,
|
|||
static gboolean
|
||||
gimp_vectors_stroke (GimpItem *item,
|
||||
GimpDrawable *drawable,
|
||||
GimpContext *context,
|
||||
GimpStrokeDesc *stroke_desc)
|
||||
{
|
||||
GimpVectors *vectors = GIMP_VECTORS (item);
|
||||
|
|
Loading…
Reference in a new issue