aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-12-18 21:58:26 -0600
committerTed Gould <ted@gould.cx>2009-12-18 21:58:26 -0600
commitad4bfb14e3449857f52f50bca76ce52ee72be5f5 (patch)
treee3a92c7002948861c0414fd39e4b9f1cbd21a413 /libdbusmenu-glib
parent7cbec8065b76e02f383d9161b68fa2062b9db0b5 (diff)
downloadlibdbusmenu-ad4bfb14e3449857f52f50bca76ce52ee72be5f5.tar.gz
libdbusmenu-ad4bfb14e3449857f52f50bca76ce52ee72be5f5.tar.bz2
libdbusmenu-ad4bfb14e3449857f52f50bca76ce52ee72be5f5.zip
Changing the prototype on the signal so that it isn't a string, but a value.
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/menuitem-marshal.list2
-rw-r--r--libdbusmenu-glib/menuitem.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libdbusmenu-glib/menuitem-marshal.list b/libdbusmenu-glib/menuitem-marshal.list
index a32e7e3..dc4ba53 100644
--- a/libdbusmenu-glib/menuitem-marshal.list
+++ b/libdbusmenu-glib/menuitem-marshal.list
@@ -1,4 +1,4 @@
-VOID: STRING, STRING
+VOID: STRING, POINTER
VOID: OBJECT, UINT, UINT
VOID: OBJECT, UINT
VOID: OBJECT
diff --git a/libdbusmenu-glib/menuitem.c b/libdbusmenu-glib/menuitem.c
index dc01157..5d45e98 100644
--- a/libdbusmenu-glib/menuitem.c
+++ b/libdbusmenu-glib/menuitem.c
@@ -122,8 +122,8 @@ dbusmenu_menuitem_class_init (DbusmenuMenuitemClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET(DbusmenuMenuitemClass, property_changed),
NULL, NULL,
- _dbusmenu_menuitem_marshal_VOID__STRING_STRING,
- G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_STRING);
+ _dbusmenu_menuitem_marshal_VOID__STRING_POINTER,
+ G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_VALUE);
/**
DbusmenuMenuitem::item-activated:
@arg0: The #DbusmenuMenuitem object.