diff options
-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); |