diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-05-14 00:12:10 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-05-14 00:12:10 +0800 |
commit | cd1b05ca912641d3f4bbcd0cb0f5de34b8650a86 (patch) | |
tree | 0a86d96b14379a79048a79dcb8d14267ab1e222f /mail/folder-browser-ui.c | |
parent | 990d1ba48a42ca1888a19844b9f9daa34f4e619b (diff) | |
download | gsoc2013-evolution-cd1b05ca912641d3f4bbcd0cb0f5de34b8650a86.tar.gz gsoc2013-evolution-cd1b05ca912641d3f4bbcd0cb0f5de34b8650a86.tar.zst gsoc2013-evolution-cd1b05ca912641d3f4bbcd0cb0f5de34b8650a86.zip |
Removed. (make_factory): No need to set up the SIGSEGV redirect handler
* component-factory.c (segv_redirect): Removed.
(make_factory): No need to set up the SIGSEGV redirect handler
here, since it's already done in the shell now, and it's in-proc.
* folder-browser-ui.c (folder_browser_ui_rm_all): Only do the
bonobo_ui_component() stuff if the component does have a
container.
svn path=/trunk/; revision=21156
Diffstat (limited to 'mail/folder-browser-ui.c')
-rw-r--r-- | mail/folder-browser-ui.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/folder-browser-ui.c b/mail/folder-browser-ui.c index 18aecd234f..3f570b963d 100644 --- a/mail/folder-browser-ui.c +++ b/mail/folder-browser-ui.c @@ -649,10 +649,12 @@ void folder_browser_ui_rm_all (FolderBrowser *fb) { BonoboUIComponent *uic = fb->uicomp; - - bonobo_ui_component_rm (uic, "/", NULL); - bonobo_ui_component_unset_container (uic, NULL); - + + if (bonobo_ui_component_get_container (uic) != NULL) { + bonobo_ui_component_rm (uic, "/", NULL); + bonobo_ui_component_unset_container (uic, NULL); + } + if (fb->sensitise_state) { g_hash_table_destroy (fb->sensitise_state); fb->sensitise_state = NULL; |