aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-util.c21
-rw-r--r--e-util/e-util.h4
2 files changed, 25 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,
diff --git a/e-util/e-util.h b/e-util/e-util.h
index 37b9a75b9f..7c0abe9da9 100644
--- a/e-util/e-util.h
+++ b/e-util/e-util.h
@@ -277,6 +277,10 @@ void e_marshal_NONE__DOUBLE (GtkO
GtkSignalFunc func,
gpointer func_data,
GtkArg *args);
+void e_marshal_BOOL__STRING (GtkObject *object,
+ GtkSignalFunc func,
+ gpointer func_data,
+ GtkArg *args);
#ifdef __cplusplus