diff options
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-util.c | 22 | ||||
-rw-r--r-- | e-util/e-util.h | 4 |
2 files changed, 15 insertions, 11 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c index 9e4cc74412..1696338858 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -834,24 +834,26 @@ e_marshal_NONE__DOUBLE (GtkObject *object, func_data); } -typedef gboolean (*GtkSignal_BOOL__STRING) (GtkObject *, - char *, - gpointer user_data); +typedef gboolean (*GtkSignal_BOOL__STRING_INT) (GtkObject *, + char *, + gint, + gpointer user_data); void -e_marshal_BOOL__STRING (GtkObject *object, - GtkSignalFunc func, - gpointer func_data, - GtkArg *args) +e_marshal_BOOL__STRING_INT (GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args) { - GtkSignal_BOOL__STRING rfunc; + GtkSignal_BOOL__STRING_INT rfunc; gboolean *return_val; - rfunc = (GtkSignal_BOOL__STRING) func; - return_val = GTK_RETLOC_BOOL (args[1]); + rfunc = (GtkSignal_BOOL__STRING_INT) func; + return_val = GTK_RETLOC_BOOL (args[2]); *return_val = (*rfunc) (object, GTK_VALUE_STRING (args[0]), + GTK_VALUE_INT (args[1]), func_data); } diff --git a/e-util/e-util.h b/e-util/e-util.h index 7c0abe9da9..e636a0fbbf 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -277,7 +277,9 @@ void e_marshal_NONE__DOUBLE (GtkO GtkSignalFunc func, gpointer func_data, GtkArg *args); -void e_marshal_BOOL__STRING (GtkObject *object, + +#define e_marshal_BOOL__STRING_ENUM e_marshal_BOOL__STRING_INT +void e_marshal_BOOL__STRING_INT (GtkObject *object, GtkSignalFunc func, gpointer func_data, GtkArg *args); |