aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-03 14:13:45 -0500
committerTed Gould <ted@canonical.com>2009-09-03 14:13:45 -0500
commit77ad7a72d9c7f1996d82cb32ce8f3887c87df6f2 (patch)
treec8d1fd096ddf21a495edab3886b075955ecc8ee3
parent8f44a2f0e4c64839956a4238a4088baa54547ca3 (diff)
downloadayatana-indicator-messages-77ad7a72d9c7f1996d82cb32ce8f3887c87df6f2.tar.gz
ayatana-indicator-messages-77ad7a72d9c7f1996d82cb32ce8f3887c87df6f2.tar.bz2
ayatana-indicator-messages-77ad7a72d9c7f1996d82cb32ce8f3887c87df6f2.zip
Using defines for visibility.
-rw-r--r--src/messages-service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index 093ebfd..754021b 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -531,7 +531,7 @@ server_removed (IndicateListener * listener, IndicateListenerServer * server, gc
serverList = g_list_remove(serverList, sltp);
if (sltp->menuitem != NULL) {
- dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(sltp->menuitem), "visibile", "false");
+ dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(sltp->menuitem), DBUSMENU_MENUITEM_PROP_VISIBLE, "false");
dbusmenu_menuitem_child_delete(DBUSMENU_MENUITEM(data), DBUSMENU_MENUITEM(sltp->menuitem));
g_object_unref(G_OBJECT(sltp->menuitem));
}
@@ -776,7 +776,7 @@ indicator_removed (IndicateListener * listener, IndicateListenerServer * server,
g_signal_handler_disconnect(menuitem, ilt->timechange_cb);
g_free(ilt);
- dbusmenu_menuitem_property_set(menuitem, "visibile", "false");
+ dbusmenu_menuitem_property_set(menuitem, DBUSMENU_MENUITEM_PROP_VISIBLE, "false");
dbusmenu_menuitem_child_delete(DBUSMENU_MENUITEM(data), menuitem);
removed = TRUE;
}