diff options
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/folder-browser.c | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index aeb58042b1..d6726d1426 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -6,10 +6,6 @@ * folder-browser.c (message_list_drag_data_get): Free the temp GByteArrays. - (setup_popup_icons): Connect to the destroy signal on the pixmap - objects using gtk_object_unref as the callback - this way when the - popup menu gets destroyed, the pixmaps clean themselves up. - (on_right_click): Same idea for the label_menu. 2002-04-17 Jeffrey Stedfast <fejj@ximian.com> diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 4e20434a97..94db6493a0 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -1731,8 +1731,6 @@ setup_popup_icons (void) filename = g_strdup_printf ("%s/%s", EVOLUTION_IMAGES, context_pixmaps[i]); context_menu[i].pixmap = gnome_pixmap_new_from_file (filename); - gtk_signal_connect (GTK_OBJECT (context_menu[i].pixmap), "destroy", - gtk_object_unref, NULL); g_free (filename); } } @@ -1964,9 +1962,6 @@ on_right_click (ETree *tree, gint row, ETreePath path, gint col, GdkEvent *event label_menu[i + 2].name = e_utf8_to_locale_string (mail_config_get_label_name (i)); label_menu[i + 2].pixmap = gtk_pixmap_new (pixmap, NULL); label_menu[i + 2].closure = closure; - - gtk_signal_connect (GTK_OBJECT (label_menu[i].pixmap), "destroy", - gtk_object_unref, NULL); } setup_popup_icons (); |