aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-01-26 13:27:51 -0600
committerTed Gould <ted@gould.cx>2012-01-26 13:27:51 -0600
commitabcbb8411ae2fea09b34c93b0c4a67bf3f3db413 (patch)
tree14f82fbc85b84a3b34157cda8b80d3bd832b8a60 /libdbusmenu-glib
parent9a01ce5b74bd5d2012a59e9d55a49531da1c4d14 (diff)
downloadlibdbusmenu-abcbb8411ae2fea09b34c93b0c4a67bf3f3db413.tar.gz
libdbusmenu-abcbb8411ae2fea09b34c93b0c4a67bf3f3db413.tar.bz2
libdbusmenu-abcbb8411ae2fea09b34c93b0c4a67bf3f3db413.zip
Adding a default type for ICON_DATA so we can catch people using it wrong
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/defaults.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdbusmenu-glib/defaults.c b/libdbusmenu-glib/defaults.c
index a5caf0b..1cacc34 100644
--- a/libdbusmenu-glib/defaults.c
+++ b/libdbusmenu-glib/defaults.c
@@ -83,6 +83,7 @@ dbusmenu_defaults_init (DbusmenuDefaults *self)
dbusmenu_defaults_default_set(self, DBUSMENU_CLIENT_TYPES_DEFAULT, DBUSMENU_MENUITEM_PROP_ENABLED, G_VARIANT_TYPE_BOOLEAN, g_variant_new_boolean(TRUE));
dbusmenu_defaults_default_set(self, DBUSMENU_CLIENT_TYPES_DEFAULT, DBUSMENU_MENUITEM_PROP_LABEL, G_VARIANT_TYPE_STRING, g_variant_new_string(_("Label Empty")));
dbusmenu_defaults_default_set(self, DBUSMENU_CLIENT_TYPES_DEFAULT, DBUSMENU_MENUITEM_PROP_ICON_NAME, G_VARIANT_TYPE_STRING, NULL);
+ dbusmenu_defaults_default_set(self, DBUSMENU_CLIENT_TYPES_DEFAULT, DBUSMENU_MENUITEM_PROP_ICON_DATA, G_VARIANT_TYPE("ay"), NULL);
dbusmenu_defaults_default_set(self, DBUSMENU_CLIENT_TYPES_DEFAULT, DBUSMENU_MENUITEM_PROP_TOGGLE_TYPE, G_VARIANT_TYPE_STRING, NULL);
dbusmenu_defaults_default_set(self, DBUSMENU_CLIENT_TYPES_DEFAULT, DBUSMENU_MENUITEM_PROP_TOGGLE_STATE, G_VARIANT_TYPE_INT32, NULL);
dbusmenu_defaults_default_set(self, DBUSMENU_CLIENT_TYPES_DEFAULT, DBUSMENU_MENUITEM_PROP_SHORTCUT, G_VARIANT_TYPE("aas"), NULL);