aboutsummaryrefslogtreecommitdiff
path: root/src/application-service-marshal.c
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2011-08-11 21:18:39 +0200
committerSebastien Bacher <seb128@ubuntu.com>2011-08-11 21:18:39 +0200
commit29515fea95da0c75677d945959bca0df6e114c70 (patch)
tree6f609c5e78e6dcabd88b2a1df322736d0f096107 /src/application-service-marshal.c
parent90aa5afaef81004330d6fa21d094fa1178e094db (diff)
parent7a5688c166f39166a98f8a660269834c57ca8980 (diff)
downloadlibayatana-appindicator-29515fea95da0c75677d945959bca0df6e114c70.tar.gz
libayatana-appindicator-29515fea95da0c75677d945959bca0df6e114c70.tar.bz2
libayatana-appindicator-29515fea95da0c75677d945959bca0df6e114c70.zip
* New upstream release.
* Secondary activate support * Better GIR file annotations
Diffstat (limited to 'src/application-service-marshal.c')
-rw-r--r--src/application-service-marshal.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/application-service-marshal.c b/src/application-service-marshal.c
index fb940b7..d077981 100644
--- a/src/application-service-marshal.c
+++ b/src/application-service-marshal.c
@@ -286,3 +286,40 @@ _application_service_marshal_VOID__INT_UINT (GClosure *closure,
data2);
}
+/* VOID:INT,INT (./application-service-marshal.list:25) */
+void
+_application_service_marshal_VOID__INT_INT (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__INT_INT) (gpointer data1,
+ gint arg_1,
+ gint arg_2,
+ gpointer data2);
+ register GMarshalFunc_VOID__INT_INT callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 3);
+
+ 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__INT_INT) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_int (param_values + 1),
+ g_marshal_value_peek_int (param_values + 2),
+ data2);
+}
+