From c84bc2ada92f3371f59785fb1a7a9d61fd9f1ea5 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 20 Jan 2009 16:46:13 -0600 Subject: ifdef'ing out the mail stuff as we need to get IM working first --- src/indicator-messages.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/indicator-messages.c b/src/indicator-messages.c index de0dec0..993451e 100644 --- a/src/indicator-messages.c +++ b/src/indicator-messages.c @@ -4,7 +4,9 @@ static IndicateListener * listener; static GHashTable * imHash; +#if 0 static GHashTable * mailHash; +#endif typedef struct _imHash_t imHash_t; struct _imHash_t { @@ -59,6 +61,7 @@ subtype_cb (IndicateListener * listener, IndicateListenerServer * server, Indica g_hash_table_insert(imHash, hasher, menuitem); gtk_menu_shell_prepend(menushell, menuitem); +#if 0 } else if (!strcmp(propertydata, "mail")) { gpointer pntr_menu_item; pntr_menu_item = g_hash_table_lookup(mailHash, server); @@ -75,6 +78,7 @@ subtype_cb (IndicateListener * listener, IndicateListenerServer * server, Indica MailMenuItem * menu_item = MAIL_MENU_ITEM(pntr_menu_item); mail_menu_item_increment(menu_item); } +#endif } return; @@ -99,8 +103,10 @@ get_menu_item (void) listener = indicate_listener_new(); imHash = g_hash_table_new_full(g_direct_hash, imHash_equal, imHash_destroy, g_object_unref); +#if 0 mailHash = g_hash_table_new_full(g_direct_hash, g_direct_equal, NULL, g_object_unref); +#endif GtkWidget * main = gtk_menu_item_new_with_label("Message Me"); -- cgit v1.2.3