diff options
author | Dan Winship <danw@src.gnome.org> | 2000-10-26 02:59:36 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-10-26 02:59:36 +0800 |
commit | 56704ecef46db55ce45f7bdf278cf75bee7655a2 (patch) | |
tree | b38e9e7cbb89d91a7110edc340ef6f4a3e36b6fc | |
parent | 5441932367ec2c7f07cffedf06bc0bcdbe2496fe (diff) | |
download | gsoc2013-evolution-56704ecef46db55ce45f7bdf278cf75bee7655a2.tar gsoc2013-evolution-56704ecef46db55ce45f7bdf278cf75bee7655a2.tar.gz gsoc2013-evolution-56704ecef46db55ce45f7bdf278cf75bee7655a2.tar.bz2 gsoc2013-evolution-56704ecef46db55ce45f7bdf278cf75bee7655a2.tar.lz gsoc2013-evolution-56704ecef46db55ce45f7bdf278cf75bee7655a2.tar.xz gsoc2013-evolution-56704ecef46db55ce45f7bdf278cf75bee7655a2.tar.zst gsoc2013-evolution-56704ecef46db55ce45f7bdf278cf75bee7655a2.zip |
Add another marshalling function.
* gal/util/e-util.c (e_marshal_NONE__POINTER_POINTER_INT): Add
another marshalling function.
svn path=/trunk/; revision=6171
-rw-r--r-- | e-util/e-util.c | 14 | ||||
-rw-r--r-- | e-util/e-util.h | 5 |
2 files changed, 19 insertions, 0 deletions
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_ */ |