aboutsummaryrefslogtreecommitdiff
path: root/src/application-service-marshal.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-19 13:58:41 -0500
committerTed Gould <ted@gould.cx>2010-08-19 13:58:41 -0500
commitf71709a52cd03f15f5a64a39d5cd5496703e0200 (patch)
treecff652ebe7f4326beda98df6b7e2298c9aebfd71 /src/application-service-marshal.c
parent80345b2c57c463eea1474a1bae5d94f45852eaec (diff)
parent101c8ff39cb98078b064d14cb2f4bac1373915ee (diff)
downloadayatana-indicator-application-f71709a52cd03f15f5a64a39d5cd5496703e0200.tar.gz
ayatana-indicator-application-f71709a52cd03f15f5a64a39d5cd5496703e0200.tar.bz2
ayatana-indicator-application-f71709a52cd03f15f5a64a39d5cd5496703e0200.zip
* New upstream release.
* Allowing approvers to change thier mind
Diffstat (limited to 'src/application-service-marshal.c')
-rw-r--r--src/application-service-marshal.c39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/application-service-marshal.c b/src/application-service-marshal.c
index db095ce..e109d7c 100644
--- a/src/application-service-marshal.c
+++ b/src/application-service-marshal.c
@@ -210,3 +210,42 @@ _application_service_marshal_VOID__STRING_STRING (GClosure *closure,
data2);
}
+/* VOID:BOOL,STRING,OBJECT (./application-service-marshal.list:23) */
+void
+_application_service_marshal_VOID__BOOLEAN_STRING_OBJECT (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__BOOLEAN_STRING_OBJECT) (gpointer data1,
+ gboolean arg_1,
+ gpointer arg_2,
+ gpointer arg_3,
+ gpointer data2);
+ register GMarshalFunc_VOID__BOOLEAN_STRING_OBJECT callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 4);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__BOOLEAN_STRING_OBJECT) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_boolean (param_values + 1),
+ g_marshal_value_peek_string (param_values + 2),
+ g_marshal_value_peek_object (param_values + 3),
+ data2);
+}
+