aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-12-07 02:40:11 +0800
committerDan Winship <danw@src.gnome.org>2000-12-07 02:40:11 +0800
commit5c7218c6295186b1af0a26a4c056b7af6a2c33f9 (patch)
treedb75da5e574105d896e9ebe9e3f51407dafd922e /mail/folder-browser.c
parent6dce720dc64061352041f4a55c46590c8ffcc3a0 (diff)
downloadgsoc2013-evolution-5c7218c6295186b1af0a26a4c056b7af6a2c33f9.tar
gsoc2013-evolution-5c7218c6295186b1af0a26a4c056b7af6a2c33f9.tar.gz
gsoc2013-evolution-5c7218c6295186b1af0a26a4c056b7af6a2c33f9.tar.bz2
gsoc2013-evolution-5c7218c6295186b1af0a26a4c056b7af6a2c33f9.tar.lz
gsoc2013-evolution-5c7218c6295186b1af0a26a4c056b7af6a2c33f9.tar.xz
gsoc2013-evolution-5c7218c6295186b1af0a26a4c056b7af6a2c33f9.tar.zst
gsoc2013-evolution-5c7218c6295186b1af0a26a4c056b7af6a2c33f9.zip
Remove bits of filter-on-demand and toolbar bug workaround cruft that
* folder-browser.c: Remove bits of filter-on-demand and toolbar bug workaround cruft that don't do anything useful any more. * mail-ops.c (cleanup_load_folder): unref the ref we added in setup_load_folder. svn path=/trunk/; revision=6812
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c21
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) {