diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-31 06:48:22 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-31 06:48:22 +0800 |
commit | 641ac2a1681371a6b88a970821059560b9e358b7 (patch) | |
tree | 4234e619f53276a90e396df095a25271ceff7657 /shell | |
parent | 47843d5fe0d8ef95d1d001af559e0b3c93e154a1 (diff) | |
download | gsoc2013-evolution-641ac2a1681371a6b88a970821059560b9e358b7.tar gsoc2013-evolution-641ac2a1681371a6b88a970821059560b9e358b7.tar.gz gsoc2013-evolution-641ac2a1681371a6b88a970821059560b9e358b7.tar.bz2 gsoc2013-evolution-641ac2a1681371a6b88a970821059560b9e358b7.tar.lz gsoc2013-evolution-641ac2a1681371a6b88a970821059560b9e358b7.tar.xz gsoc2013-evolution-641ac2a1681371a6b88a970821059560b9e358b7.tar.zst gsoc2013-evolution-641ac2a1681371a6b88a970821059560b9e358b7.zip |
Removed. (show_existing_view): Don't call it.
* e-shell-view.c (bonobo_widget_is_dead): Removed.
(show_existing_view): Don't call it.
svn path=/trunk/; revision=14494
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-shell-view.c | 24 |
2 files changed, 5 insertions, 24 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 16672025ae..ba039e3e82 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,5 +1,10 @@ 2001-10-30 Ettore Perazzoli <ettore@ximian.com> + * e-shell-view.c (bonobo_widget_is_dead): Removed. + (show_existing_view): Don't call it. + +2001-10-30 Ettore Perazzoli <ettore@ximian.com> + * e-component-registry.c (sleep_with_g_main_loop): New utility function. (sleep_with_g_main_loop_timeout_callback): Callback function for diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index cd9355b90e..fbf80ec9df 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -240,25 +240,6 @@ load_images (void) } } -/* FIXME this is broken. */ -static gboolean -bonobo_widget_is_dead (BonoboWidget *bonobo_widget) -{ - BonoboControlFrame *control_frame; - CORBA_Object corba_object; - CORBA_Environment ev; - gboolean is_dead; - - control_frame = bonobo_widget_get_control_frame (bonobo_widget); - corba_object = bonobo_control_frame_get_control (control_frame); - - CORBA_exception_init (&ev); - is_dead = CORBA_Object_non_existent (corba_object, &ev); - CORBA_exception_free (&ev); - - return is_dead; -} - static void cleanup_delayed_selection (EShellView *shell_view) { @@ -1950,11 +1931,6 @@ show_existing_view (EShellView *shell_view, notebook_page = gtk_notebook_page_num (GTK_NOTEBOOK (priv->notebook), view->control); g_assert (notebook_page != -1); - /* A BonoboWidget can be a "zombie" in the sense that its actual - control is dead; if it's zombie, we have to recreate it. */ - if (bonobo_widget_is_dead (BONOBO_WIDGET (view->control))) - return FALSE; - g_free (priv->uri); priv->uri = g_strdup (uri); |