diff options
author | Ted Gould <ted@gould.cx> | 2010-11-16 16:25:24 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-11-16 16:25:24 -0600 |
commit | d2eaaa6de0019da3bb9202dc0cb194ca5ef9d79f (patch) | |
tree | 987aaf6a57a5a5c4c176128109126f0aa5b99ef7 | |
parent | b09ed309175070d38bc4351d02f23b0ef757008c (diff) | |
download | libdbusmenu-d2eaaa6de0019da3bb9202dc0cb194ca5ef9d79f.tar.gz libdbusmenu-d2eaaa6de0019da3bb9202dc0cb194ca5ef9d79f.tar.bz2 libdbusmenu-d2eaaa6de0019da3bb9202dc0cb194ca5ef9d79f.zip |
It doesn't really match standard GVariant syntax to have this be a const
-rw-r--r-- | libdbusmenu-glib/menuitem.c | 2 | ||||
-rw-r--r-- | libdbusmenu-glib/menuitem.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libdbusmenu-glib/menuitem.c b/libdbusmenu-glib/menuitem.c index 7497697..80d9df4 100644 --- a/libdbusmenu-glib/menuitem.c +++ b/libdbusmenu-glib/menuitem.c @@ -1072,7 +1072,7 @@ dbusmenu_menuitem_property_get_value (DbusmenuMenuitem * mi, const gchar * prope return (const GValue *)g_hash_table_lookup(priv->properties, property); } -const GVariant * +GVariant * dbusmenu_menuitem_property_get_variant (DbusmenuMenuitem * mi, const gchar * property) { diff --git a/libdbusmenu-glib/menuitem.h b/libdbusmenu-glib/menuitem.h index 802a8c4..1dbad9d 100644 --- a/libdbusmenu-glib/menuitem.h +++ b/libdbusmenu-glib/menuitem.h @@ -194,7 +194,7 @@ gboolean dbusmenu_menuitem_property_set_bool (DbusmenuMenuitem * mi, const gchar gboolean dbusmenu_menuitem_property_set_int (DbusmenuMenuitem * mi, const gchar * property, const gint value); const gchar * dbusmenu_menuitem_property_get (DbusmenuMenuitem * mi, const gchar * property); const GValue * dbusmenu_menuitem_property_get_value (DbusmenuMenuitem * mi, const gchar * property); -const GVariant * dbusmenu_menuitem_property_get_variant (DbusmenuMenuitem * mi, const gchar * property); +GVariant * dbusmenu_menuitem_property_get_variant (DbusmenuMenuitem * mi, const gchar * property); gboolean dbusmenu_menuitem_property_get_bool (DbusmenuMenuitem * mi, const gchar * property); gint dbusmenu_menuitem_property_get_int (DbusmenuMenuitem * mi, const gchar * property); gboolean dbusmenu_menuitem_property_exist (DbusmenuMenuitem * mi, const gchar * property); |