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:
Michael Natterer 2005-07-12 14:44:17 +00:00 committed by Michael Natterer
parent 470c11a8f0
commit c9c9640a22
6 changed files with 11 additions and 10 deletions

View file

@ -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):

View file

@ -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)
{

View file

@ -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);

View file

@ -112,7 +112,6 @@ struct _GimpItemClass
GimpProgress *progress);
gboolean (* stroke) (GimpItem *item,
GimpDrawable *drawable,
GimpContext *context,
GimpStrokeDesc *stroke_desc);
const gchar *default_name;

View file

@ -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;

View file

@ -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);