diff options
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r-- | mail/folder-browser.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 7707c87874..3a56ee030e 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -46,14 +46,6 @@ static void fb_resize_cb (GtkWidget *w, GtkAllocation *a); static GtkObjectClass *folder_browser_parent_class; -static void oc_destroy (gpointer obj, gpointer user) -{ - struct fb_ondemand_closure *oc = (struct fb_ondemand_closure *) obj; - - g_free (oc->path); - g_free (oc); -} - static void folder_browser_destroy (GtkObject *object) { @@ -83,14 +75,6 @@ folder_browser_destroy (GtkObject *object) if (folder_browser->mail_display) gtk_widget_destroy (GTK_WIDGET (folder_browser->mail_display)); - if (folder_browser->filter_context) - gtk_object_unref (GTK_OBJECT (folder_browser->filter_context)); - - if (folder_browser->filter_menu_paths) { - g_slist_foreach (folder_browser->filter_menu_paths, oc_destroy, NULL); - g_slist_free (folder_browser->filter_menu_paths); - } - CORBA_exception_free (&ev); folder_browser_parent_class->destroy (object); @@ -749,16 +733,12 @@ my_folder_browser_init (GtkObject *object) gtk_signal_connect (GTK_OBJECT(fb->message_list), "message_selected", on_message_selected, fb); - fb->filter_menu_paths = NULL; - fb->filter_context = NULL; - folder_browser_gui_init (fb); } GtkWidget * folder_browser_new (const GNOME_Evolution_Shell shell) { - static int serial = 0; CORBA_Environment ev; FolderBrowser *folder_browser; @@ -768,7 +748,6 @@ folder_browser_new (const GNOME_Evolution_Shell shell) my_folder_browser_init (GTK_OBJECT (folder_browser)); folder_browser->uri = NULL; - folder_browser->serial = serial++; folder_browser->shell = CORBA_Object_duplicate (shell, &ev); if (ev._major != CORBA_NO_EXCEPTION) { |