diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/messages-service.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c index 8743b62..9879e3a 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -51,6 +51,11 @@ static void remove_eclipses (AppMenuItem * ai); static gboolean build_launcher (gpointer data); static gboolean build_launchers (gpointer data); + +/* + * Server List + */ + typedef struct _serverList_t serverList_t; struct _serverList_t { IndicateListenerServer * server; @@ -86,6 +91,10 @@ serverList_sort (gconstpointer a, gconstpointer b) return g_strcmp0(pan, pbn); } +/* + * Item List + */ + typedef struct _imList_t imList_t; struct _imList_t { IndicateListenerServer * server; @@ -124,6 +133,10 @@ imList_sort (gconstpointer a, gconstpointer b) return (gint)(im_menu_item_get_seconds(IM_MENU_ITEM(pb->menuitem)) - im_menu_item_get_seconds(IM_MENU_ITEM(pa->menuitem))); } +/* + * Launcher List + */ + typedef struct _launcherList_t launcherList_t; struct _launcherList_t { LauncherMenuItem * menuitem; @@ -143,6 +156,10 @@ launcherList_sort (gconstpointer a, gconstpointer b) return g_strcmp0(pan, pbn); } +/* + * Black List + */ + static gboolean blacklist_check (const gchar * desktop_file) { @@ -150,6 +167,10 @@ blacklist_check (const gchar * desktop_file) return FALSE; } +/* + * More code + */ + static void server_added (IndicateListener * listener, IndicateListenerServer * server, gchar * type, gpointer data) { |