diff options
author | Ted Gould <ted@gould.cx> | 2010-06-23 09:10:10 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-06-23 09:10:10 -0500 |
commit | 63fc1985fdf9ef74830ec27d7ad8c1bb03c54f0c (patch) | |
tree | 4a59dd688b7b313d18012f87d3541abd881aa79a /libdbusmenu-gtk | |
parent | f071a21b449e8ac1d34b593dc788929e175d987f (diff) | |
download | libdbusmenu-63fc1985fdf9ef74830ec27d7ad8c1bb03c54f0c.tar.gz libdbusmenu-63fc1985fdf9ef74830ec27d7ad8c1bb03c54f0c.tar.bz2 libdbusmenu-63fc1985fdf9ef74830ec27d7ad8c1bb03c54f0c.zip |
Using our complex types to start looking at things.
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r-- | libdbusmenu-gtk/menuitem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdbusmenu-gtk/menuitem.c b/libdbusmenu-gtk/menuitem.c index 532f478..9154592 100644 --- a/libdbusmenu-gtk/menuitem.c +++ b/libdbusmenu-gtk/menuitem.c @@ -318,7 +318,7 @@ dbusmenu_menuitem_property_get_shortcut (DbusmenuMenuitem * menuitem, guint * ke if (wrapper == NULL) { return; } - if (!G_VALUE_HOLDS(wrapper, G_TYPE_BOXED)) { + if (!G_VALUE_HOLDS(wrapper, wrapper_type)) { g_warning("Unexpected shortcut structure. Wrapper is: %s", G_VALUE_TYPE_NAME(wrapper)); return; } @@ -333,7 +333,7 @@ dbusmenu_menuitem_property_get_shortcut (DbusmenuMenuitem * menuitem, guint * ke } GValue * ventryarray = g_ptr_array_index(wrapperarray, 0); - if (!G_VALUE_HOLDS(ventryarray, G_TYPE_BOXED)) { + if (!G_VALUE_HOLDS(ventryarray, string_array_type)) { g_warning("Unexpected shortcut structure. Value array is: %s", G_VALUE_TYPE_NAME(ventryarray)); return; } |