diff options
Diffstat (limited to 'src/messages-service.c')
-rw-r--r-- | src/messages-service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messages-service.c b/src/messages-service.c index f5681b7..f1e1b0d 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -488,7 +488,7 @@ server_added (IndicateListener * listener, IndicateListenerServer * server, gcha /* Build a separator */ sl_item->separator = dbusmenu_menuitem_new(); - dbusmenu_menuitem_property_set(sl_item->separator, "type", DBUSMENU_CLIENT_TYPES_SEPARATOR); + dbusmenu_menuitem_property_set(sl_item->separator, DBUSMENU_MENUITEM_PROP_TYPE, DBUSMENU_CLIENT_TYPES_SEPARATOR); /* Incase we got an indicator first */ GList * alreadythere = g_list_find_custom(serverList, sl_item, serverList_equal); @@ -1139,7 +1139,7 @@ build_launcher (gpointer data) /* Build a separator */ ll->separator = dbusmenu_menuitem_new(); - dbusmenu_menuitem_property_set(ll->separator, "type", DBUSMENU_CLIENT_TYPES_SEPARATOR); + dbusmenu_menuitem_property_set(ll->separator, DBUSMENU_MENUITEM_PROP_TYPE, DBUSMENU_CLIENT_TYPES_SEPARATOR); /* Add it to the list */ launcherList = g_list_insert_sorted(launcherList, ll, launcherList_sort); |