diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-06-02 11:03:03 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-06-02 11:03:03 +0800 |
commit | aae604c8ad9b690467d32d961053eef40e8e3b94 (patch) | |
tree | 42354be754277b0f38d1faf6502112e22c1afede /e-util/e-util.c-8611 | |
parent | f9b79bb0f6f9f372539af46e26c93c1669762c79 (diff) | |
download | gsoc2013-evolution-aae604c8ad9b690467d32d961053eef40e8e3b94.tar.gz gsoc2013-evolution-aae604c8ad9b690467d32d961053eef40e8e3b94.tar.zst gsoc2013-evolution-aae604c8ad9b690467d32d961053eef40e8e3b94.zip |
Added e_marshal_INT__INT_INT_POINTER.
2000-06-01 Christopher James Lahey <clahey@helixcode.com>
* e-util.c, e-util.h: Added e_marshal_INT__INT_INT_POINTER.
svn path=/trunk/; revision=3367
Diffstat (limited to 'e-util/e-util.c-8611')
-rw-r--r-- | e-util/e-util.c-8611 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/e-util/e-util.c-8611 b/e-util/e-util.c-8611 index 9540e0400b..7f8a8d89f8 100644 --- a/e-util/e-util.c-8611 +++ b/e-util/e-util.c-8611 @@ -159,3 +159,23 @@ e_write_file(const char *filename, const char *data, int flags) close(fd); return 0; } + +typedef gint (*GtkSignal_NONE__INT_INT_POINTER) (GtkObject * object, + gint arg1, + gint arg2, + gpointer arg3, + gpointer user_data); + +void +e_marshal_INT__INT_INT_POINTER (GtkObject * object, + GtkSignalFunc func, + gpointer func_data, GtkArg * args) +{ + GtkSignal_NONE__INT_INT_POINTER rfunc; + gint *return_val; + return_val = GTK_RETLOC_INT (args[1]); + rfunc = (GtkSignal_NONE__INT_INT_POINTER) func; + *return_val = (*rfunc) (object, + GTK_VALUE_INT (args[0]), + GTK_VALUE_INT (args[1]), GTK_VALUE_POINTER (args[2]), func_data); +} |