From 56704ecef46db55ce45f7bdf278cf75bee7655a2 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 25 Oct 2000 18:59:36 +0000 Subject: Add another marshalling function. * gal/util/e-util.c (e_marshal_NONE__POINTER_POINTER_INT): Add another marshalling function. svn path=/trunk/; revision=6171 --- e-util/e-util.c | 14 ++++++++++++++ e-util/e-util.h | 5 +++++ 2 files changed, 19 insertions(+) diff --git a/e-util/e-util.c b/e-util/e-util.c index 83fe45881d..9a0929c865 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -416,6 +416,7 @@ typedef void (*GtkSignal_NONE__INT_INT_POINTER_INT_INT_POINTER_INT_INT) (GtkObje gint arg8, gpointer user_data); + void e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_INT_INT (GtkObject * object, GtkSignalFunc func, @@ -433,6 +434,19 @@ e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_INT_INT (GtkObject * object, GTK_VALUE_INT (args[6]), GTK_VALUE_INT (args[7]), func_data); } +typedef void (*GtkSignal_NONE__POINTER_POINTER_INT) (GtkObject *, gpointer, + gpointer, gint, gpointer); + +void +e_marshal_NONE__POINTER_POINTER_INT (GtkObject * object, GtkSignalFunc func, + gpointer func_data, GtkArg * args) +{ + GtkSignal_NONE__POINTER_POINTER_INT rfunc; + rfunc = (GtkSignal_NONE__POINTER_POINTER_INT) func; + (*rfunc) (object, GTK_VALUE_POINTER (args[0]), GTK_VALUE_POINTER (args[1]), + GTK_VALUE_INT (args[2]), 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 ef331bf9d5..7f61295d9a 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -90,4 +90,9 @@ void e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_INT_INT (GtkObject * object gpointer func_data, GtkArg * args); +void e_marshal_NONE__POINTER_POINTER_INT (GtkObject * object, + GtkSignalFunc func, + gpointer func_data, + GtkArg * args); + #endif /* _E_UTIL_H_ */ -- cgit v1.2.3