diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-06-27 08:17:18 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-06-27 08:17:18 +0800 |
commit | 6fdce740b05a5af2afea41a70ab3847001c6af25 (patch) | |
tree | d49b75d68b7bd107bbfaf48aa197be4cd5e35e2a /e-util | |
parent | 03b231a20b0e2e1bdfc422ff713127b34e4cce19 (diff) | |
download | gsoc2013-evolution-6fdce740b05a5af2afea41a70ab3847001c6af25.tar gsoc2013-evolution-6fdce740b05a5af2afea41a70ab3847001c6af25.tar.gz gsoc2013-evolution-6fdce740b05a5af2afea41a70ab3847001c6af25.tar.bz2 gsoc2013-evolution-6fdce740b05a5af2afea41a70ab3847001c6af25.tar.lz gsoc2013-evolution-6fdce740b05a5af2afea41a70ab3847001c6af25.tar.xz gsoc2013-evolution-6fdce740b05a5af2afea41a70ab3847001c6af25.tar.zst gsoc2013-evolution-6fdce740b05a5af2afea41a70ab3847001c6af25.zip |
Add a new `e_marshal_INT__POINTER_POINTER_POINTER_POINTER' marshaller
and bump version number.
(BTW, did I mention that GTK+ marshalling sucks?)
svn path=/trunk/; revision=10518
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-util.c | 25 | ||||
-rw-r--r-- | e-util/e-util.h | 4 |
2 files changed, 29 insertions, 0 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c index d7770ac3fa..35412510d9 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -662,6 +662,31 @@ e_marshal_INT__POINTER_POINTER_POINTER_POINTER (GtkObject *object, } +typedef int (*GtkSignal_INT__POINTER_POINTER_POINTER_POINTER_POINTER) (GtkObject *, + gpointer, gpointer, gpointer, gpointer, gpointer, + gpointer user_data); +void +e_marshal_INT__POINTER_POINTER_POINTER_POINTER_POINTER (GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args) +{ + GtkSignal_INT__POINTER_POINTER_POINTER_POINTER_POINTER rfunc; + int *return_val; + + rfunc = (GtkSignal_INT__POINTER_POINTER_POINTER_POINTER_POINTER) func; + return_val = GTK_RETLOC_INT (args[4]); + + *return_val = (*rfunc) (object, + GTK_VALUE_POINTER (args[0]), + GTK_VALUE_POINTER (args[1]), + GTK_VALUE_POINTER (args[2]), + GTK_VALUE_POINTER (args[3]), + GTK_VALUE_POINTER (args[3]), + func_data); +} + + void e_marshal_NONE__POINTER_INT_INT_INT (GtkObject *object, GtkSignalFunc func, diff --git a/e-util/e-util.h b/e-util/e-util.h index c131676fc6..3c78825628 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -187,6 +187,10 @@ void e_marshal_INT__POINTER_POINTER_POINTER_POINTER (GtkO GtkSignalFunc func, gpointer func_data, GtkArg *args); +void e_marshal_INT__POINTER_POINTER_POINTER_POINTER_POINTER (GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args); void e_marshal_NONE__POINTER_INT_INT_INT (GtkObject *object, GtkSignalFunc func, gpointer func_data, |