aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-util.c')
-rw-r--r--e-util/e-util.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c
index 9540e0400b..7f8a8d89f8 100644
--- a/e-util/e-util.c
+++ b/e-util/e-util.c
@@ -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);
+}