changeset 10183:9cff8cc12746

[gaim-migrate @ 11298] This bad boy was crashing when logging out because it was trying to free some static strings. I talked to the Chipmeister and he said it was ok to just remove the thing. So I did! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 15 Nov 2004 00:32:13 +0000
parents 4085b2cda8f1
children f6918ab1624a
files src/gtkstatusselector.c
diffstat 1 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkstatusselector.c	Sun Nov 14 21:01:27 2004 +0000
+++ b/src/gtkstatusselector.c	Mon Nov 15 00:32:13 2004 +0000
@@ -41,8 +41,6 @@
 #if GTK_CHECK_VERSION(2,4,0)
 	GtkListStore *model;
 #endif
-
-	GHashTable *icon_table;
 };
 
 #if GTK_CHECK_VERSION(2,4,0)
@@ -120,14 +118,6 @@
 
 	selector->priv = g_new0(GaimGtkStatusSelectorPrivate, 1);
 
-	selector->priv->icon_table =
-		g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free);
-
-	g_hash_table_insert(selector->priv->icon_table,
-						"online", "available.png");
-	g_hash_table_insert(selector->priv->icon_table,
-						"away", "away.png");
-
 #if GTK_CHECK_VERSION(2,4,0)
 	selector->priv->model = gtk_list_store_new(NUM_COLUMNS, G_TYPE_POINTER,
 											   GDK_TYPE_PIXBUF, G_TYPE_STRING);
@@ -214,12 +204,6 @@
 
 	selector = GAIM_GTK_STATUS_SELECTOR(obj);
 
-	if (selector->priv->icon_table != NULL)
-	{
-		g_hash_table_destroy(selector->priv->icon_table);
-		selector->priv->icon_table = NULL;
-	}
-
 	if (GTK_OBJECT_CLASS(parent_class)->destroy)
 		GTK_OBJECT_CLASS(parent_class)->destroy(obj);
 }