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.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c
index 2916a2d18b..9e4cc74412 100644
--- a/e-util/e-util.c
+++ b/e-util/e-util.c
@@ -834,6 +834,27 @@ e_marshal_NONE__DOUBLE (GtkObject *object,
func_data);
}
+typedef gboolean (*GtkSignal_BOOL__STRING) (GtkObject *,
+ char *,
+ gpointer user_data);
+
+void
+e_marshal_BOOL__STRING (GtkObject *object,
+ GtkSignalFunc func,
+ gpointer func_data,
+ GtkArg *args)
+{
+ GtkSignal_BOOL__STRING rfunc;
+ gboolean *return_val;
+
+ rfunc = (GtkSignal_BOOL__STRING) func;
+ return_val = GTK_RETLOC_BOOL (args[1]);
+
+ *return_val = (*rfunc) (object,
+ GTK_VALUE_STRING (args[0]),
+ func_data);
+}
+
gchar**
e_strsplit (const gchar *string,
const gchar *delimiter,