From 8b546f3dfa39bceb5d28c2b9b09f3445b46b6b6d Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Tue, 29 Aug 2000 22:16:15 +0000 Subject: Fixing a spurious unref, or creating a circular reference? You decide. svn path=/trunk/; revision=5104 --- mail/folder-browser.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mail/folder-browser.c') diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 8279624e4c..65ca9cf114 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -441,12 +441,19 @@ folder_browser_new (Evolution_Shell shell) { static int serial; FolderBrowser *folder_browser = gtk_type_new (folder_browser_get_type ()); + CORBA_Environment ev; my_folder_browser_init (GTK_OBJECT (folder_browser)); folder_browser->uri = NULL; folder_browser->serial = serial++; folder_browser->shell = shell; +#warning "is this a circular reference???" + + CORBA_exception_init (&ev); + Bonobo_Unknown_ref (shell, &ev); + CORBA_exception_free (&ev); + return GTK_WIDGET (folder_browser); } -- cgit