aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-12-10 10:16:07 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-12-10 10:16:07 +0800
commit1647f967b488c4109b05e83af421901c1ac2821d (patch)
tree6c293d74bd345ce5564403b9ead046fd5fcda662 /mail/em-folder-browser.c
parent4a160e0e78504d65508156b7635b5689b41681a6 (diff)
downloadgsoc2013-evolution-1647f967b488c4109b05e83af421901c1ac2821d.tar
gsoc2013-evolution-1647f967b488c4109b05e83af421901c1ac2821d.tar.gz
gsoc2013-evolution-1647f967b488c4109b05e83af421901c1ac2821d.tar.bz2
gsoc2013-evolution-1647f967b488c4109b05e83af421901c1ac2821d.tar.lz
gsoc2013-evolution-1647f967b488c4109b05e83af421901c1ac2821d.tar.xz
gsoc2013-evolution-1647f967b488c4109b05e83af421901c1ac2821d.tar.zst
gsoc2013-evolution-1647f967b488c4109b05e83af421901c1ac2821d.zip
separeate view_menu unreffing from view_instance. fixes a runtime warning.
2003-12-10 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_activate): separeate view_menu unreffing from view_instance. fixes a runtime warning. ** See bug #51718. * mail-component.c (em_uri_to_camel): handle an e-uri which has an account uid which isn't in user@host format. svn path=/trunk/; revision=23897
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r--mail/em-folder-browser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index 313b2f61e4..0f1cfc6922 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -1006,6 +1006,9 @@ emfb_activate(EMFolderView *emfv, BonoboUIComponent *uic, int act)
if (p->view_instance) {
g_object_unref(p->view_instance);
p->view_instance = NULL;
+ }
+
+ if (p->view_menus) {
g_object_unref(p->view_menus);
p->view_menus = NULL;
}