diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2011-02-11 10:34:20 -0500 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2011-02-11 10:34:20 -0500 |
commit | a83d65cd02023cdddb6f1455f1a9877c85bd84ea (patch) | |
tree | 9225a9b221d16cceae948cf8c528e2fe89ef2c9b /src/application-service-marshal.c | |
parent | a9d343cf51cb3595491cfcbc6c9686b049c30160 (diff) | |
parent | 26b952114c696b0f373d848c6de6b1c9bd937b46 (diff) | |
download | libayatana-appindicator-a83d65cd02023cdddb6f1455f1a9877c85bd84ea.tar.gz libayatana-appindicator-a83d65cd02023cdddb6f1455f1a9877c85bd84ea.tar.bz2 libayatana-appindicator-a83d65cd02023cdddb6f1455f1a9877c85bd84ea.zip |
releasing version 0.2.95-0ubuntu10.2.95-0ubuntu1
Diffstat (limited to 'src/application-service-marshal.c')
-rw-r--r-- | src/application-service-marshal.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/application-service-marshal.c b/src/application-service-marshal.c index e109d7c..fb940b7 100644 --- a/src/application-service-marshal.c +++ b/src/application-service-marshal.c @@ -249,3 +249,40 @@ _application_service_marshal_VOID__BOOLEAN_STRING_OBJECT (GClosure *closure, data2); } +/* VOID:INT,UINT (./application-service-marshal.list:24) */ +void +_application_service_marshal_VOID__INT_UINT (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_UINT) (gpointer data1, + gint arg_1, + guint arg_2, + gpointer data2); + register GMarshalFunc_VOID__INT_UINT 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_UINT) (marshal_data ? marshal_data : cc->callback); + + callback (data1, + g_marshal_value_peek_int (param_values + 1), + g_marshal_value_peek_uint (param_values + 2), + data2); +} + |