aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/menuitem-marshal.c
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2011-01-13 15:09:17 -0600
committerSebastien Bacher <seb128@ubuntu.com>2011-01-13 15:09:17 -0600
commit2dbf76884c921e35ea77c8faa9a7bb3cf9ecc3f0 (patch)
tree78ae1af1d48db003f296db1e1fbc584f5faf1e82 /libdbusmenu-glib/menuitem-marshal.c
parent6cc24ff51aab2888b854fb61d2c5b12d89b77f29 (diff)
parentbdea6b479fe42197519c98900f726c53b9e8e66f (diff)
downloadlibdbusmenu-2dbf76884c921e35ea77c8faa9a7bb3cf9ecc3f0.tar.gz
libdbusmenu-2dbf76884c921e35ea77c8faa9a7bb3cf9ecc3f0.tar.bz2
libdbusmenu-2dbf76884c921e35ea77c8faa9a7bb3cf9ecc3f0.zip
releasing version 0.3.91-0ubuntu1
Diffstat (limited to 'libdbusmenu-glib/menuitem-marshal.c')
-rw-r--r--libdbusmenu-glib/menuitem-marshal.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libdbusmenu-glib/menuitem-marshal.c b/libdbusmenu-glib/menuitem-marshal.c
index d6ac0a6..bb2b6d7 100644
--- a/libdbusmenu-glib/menuitem-marshal.c
+++ b/libdbusmenu-glib/menuitem-marshal.c
@@ -49,20 +49,20 @@
#endif /* !G_ENABLE_DEBUG */
-/* VOID:STRING,POINTER (./menuitem-marshal.list:1) */
+/* VOID:STRING,VARIANT (./menuitem-marshal.list:1) */
void
-_dbusmenu_menuitem_marshal_VOID__STRING_POINTER (GClosure *closure,
+_dbusmenu_menuitem_marshal_VOID__STRING_VARIANT (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__STRING_POINTER) (gpointer data1,
+ typedef void (*GMarshalFunc_VOID__STRING_VARIANT) (gpointer data1,
gpointer arg_1,
gpointer arg_2,
gpointer data2);
- register GMarshalFunc_VOID__STRING_POINTER callback;
+ register GMarshalFunc_VOID__STRING_VARIANT callback;
register GCClosure *cc = (GCClosure*) closure;
register gpointer data1, data2;
@@ -78,11 +78,11 @@ _dbusmenu_menuitem_marshal_VOID__STRING_POINTER (GClosure *closure,
data1 = g_value_peek_pointer (param_values + 0);
data2 = closure->data;
}
- callback = (GMarshalFunc_VOID__STRING_POINTER) (marshal_data ? marshal_data : cc->callback);
+ callback = (GMarshalFunc_VOID__STRING_VARIANT) (marshal_data ? marshal_data : cc->callback);
callback (data1,
g_marshal_value_peek_string (param_values + 1),
- g_marshal_value_peek_pointer (param_values + 2),
+ g_marshal_value_peek_variant (param_values + 2),
data2);
}