# HG changeset patch # User Mark Doliner # Date 1100478733 0 # Node ID 9cff8cc127464654226aa06401301b4ca06702f1 # Parent 4085b2cda8f1e5c71cc75102f6143995956d7ade [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 diff -r 4085b2cda8f1 -r 9cff8cc12746 src/gtkstatusselector.c --- 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); }