aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-12-18 15:46:18 -0600
committerTed Gould <ted@gould.cx>2009-12-18 15:46:18 -0600
commit2e661e35575a77338acb08e6d3707c978d6e1b08 (patch)
tree49e1b519198ff386dc4dae646bcac8c059743310 /src/messages-service.c
parente0fabde50e1c885faf6e3b435842d52430a69e20 (diff)
downloadayatana-indicator-messages-2e661e35575a77338acb08e6d3707c978d6e1b08.tar.gz
ayatana-indicator-messages-2e661e35575a77338acb08e6d3707c978d6e1b08.tar.bz2
ayatana-indicator-messages-2e661e35575a77338acb08e6d3707c978d6e1b08.zip
Switching type to use the #define
Diffstat (limited to 'src/messages-service.c')
-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 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);