aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/server.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-14 11:00:45 -0600
committerTed Gould <ted@gould.cx>2011-02-14 11:00:45 -0600
commit4bc497b169ebee9e0ac00232a5fda6af49fc7a48 (patch)
treea1892b00d2a519f7a6252279f8d29868c4306570 /libdbusmenu-glib/server.c
parente2d75efe023912f9b4a52c295980137d1717ad14 (diff)
downloadlibdbusmenu-4bc497b169ebee9e0ac00232a5fda6af49fc7a48.tar.gz
libdbusmenu-4bc497b169ebee9e0ac00232a5fda6af49fc7a48.tar.bz2
libdbusmenu-4bc497b169ebee9e0ac00232a5fda6af49fc7a48.zip
Use NULL to clear all the values in the root item
Diffstat (limited to 'libdbusmenu-glib/server.c')
-rw-r--r--libdbusmenu-glib/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c
index bee3199..28ff9e4 100644
--- a/libdbusmenu-glib/server.c
+++ b/libdbusmenu-glib/server.c
@@ -438,7 +438,7 @@ set_property (GObject * obj, guint id, const GValue * value, GParamSpec * pspec)
GList * iter;
for (iter = properties; iter != NULL; iter = g_list_next(iter)) {
gchar * property = (gchar *)iter->data;
- menuitem_property_changed(priv->root, property, g_variant_new_string("deadvalue"), DBUSMENU_SERVER(obj));
+ menuitem_property_changed(priv->root, property, NULL, DBUSMENU_SERVER(obj));
}
g_list_free(properties);