From 52d9aa15c416af4faee23ec1f8dd9ffa7aff8c6a Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Mon, 15 Aug 2005 18:51:49 +0000 Subject: [PATCH] add an extra user data arg, so we fit the GimpDrawableConstraintFunc type. 2005-08-15 Manish Singh * plug-ins/common/sample_colorize.c (smp_constrain): add an extra user data arg, so we fit the GimpDrawableConstraintFunc type. --- ChangeLog | 5 +++++ plug-ins/common/sample_colorize.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8d0e5bae6e..71222da090 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-08-15 Manish Singh + + * plug-ins/common/sample_colorize.c (smp_constrain): add an extra + user data arg, so we fit the GimpDrawableConstraintFunc type. + 2005-08-15 Karine Delvare * app/tools/gimprectangletool.[ch] diff --git a/plug-ins/common/sample_colorize.c b/plug-ins/common/sample_colorize.c index b600773e77..1821da0511 100644 --- a/plug-ins/common/sample_colorize.c +++ b/plug-ins/common/sample_colorize.c @@ -541,8 +541,9 @@ smp_dest_combo_callback (GtkWidget *widget) } static gint -smp_constrain (gint32 image_id, - gint32 drawable_id) +smp_constrain (gint32 image_id, + gint32 drawable_id, + gpointer data) { if (image_id < 0) return FALSE;