aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-11-16 16:25:24 -0600
committerTed Gould <ted@gould.cx>2010-11-16 16:25:24 -0600
commitd2eaaa6de0019da3bb9202dc0cb194ca5ef9d79f (patch)
tree987aaf6a57a5a5c4c176128109126f0aa5b99ef7
parentb09ed309175070d38bc4351d02f23b0ef757008c (diff)
downloadlibdbusmenu-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.c2
-rw-r--r--libdbusmenu-glib/menuitem.h2
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);