From 641ac2a1681371a6b88a970821059560b9e358b7 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 30 Oct 2001 22:48:22 +0000 Subject: 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 --- shell/ChangeLog | 5 +++++ shell/e-shell-view.c | 24 ------------------------ 2 files changed, 5 insertions(+), 24 deletions(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 16672025ae..ba039e3e82 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2001-10-30 Ettore Perazzoli + + * e-shell-view.c (bonobo_widget_is_dead): Removed. + (show_existing_view): Don't call it. + 2001-10-30 Ettore Perazzoli * e-component-registry.c (sleep_with_g_main_loop): New utility 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); -- cgit v1.2.3