diff options
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-util.c | 18 | ||||
-rw-r--r-- | e-util/e-util.h | 4 |
2 files changed, 22 insertions, 0 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c index 6d4b5e915a..2916a2d18b 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -816,6 +816,24 @@ e_marshal_INT__OBJECT_POINTER (GtkObject *object, func_data); } +typedef void (*GtkSignal_NONE__DOUBLE) (GtkObject *, + gdouble, + gpointer user_data); +void +e_marshal_NONE__DOUBLE (GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args) +{ + GtkSignal_NONE__DOUBLE rfunc; + + rfunc = (GtkSignal_NONE__DOUBLE) func; + + (*rfunc) (object, + GTK_VALUE_DOUBLE (args[0]), + func_data); +} + gchar** e_strsplit (const gchar *string, const gchar *delimiter, diff --git a/e-util/e-util.h b/e-util/e-util.h index 623300f8a1..37b9a75b9f 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -273,6 +273,10 @@ void e_marshal_INT__OBJECT_POINTER (GtkO GtkSignalFunc func, gpointer func_data, GtkArg *args); +void e_marshal_NONE__DOUBLE (GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args); #ifdef __cplusplus |