don't spew debug as we disconnect from a dead parent.

2002-02-20  Michael Meeks  <michael@ximian.com>

	* libnautilus/nautilus-view.c
	(nautilus_view_set_frame): don't spew debug as we
	disconnect from a dead parent.

	* src/nautilus-sidebar-tabs.c
	(tab_item_destroy): ditto.

	* src/nautilus-window.
	(nautilus_window_unrealize): ditto.
This commit is contained in:
Michael Meeks 2002-02-20 13:10:32 +00:00 committed by Michael Meeks
parent 7d442ecd8d
commit b7d36b2b63
7 changed files with 28 additions and 12 deletions

View file

@ -1,3 +1,15 @@
2002-02-20 Michael Meeks <michael@ximian.com>
* libnautilus/nautilus-view.c
(nautilus_view_set_frame): don't spew debug as we
disconnect from a dead parent.
* src/nautilus-sidebar-tabs.c
(tab_item_destroy): ditto.
* src/nautilus-window.
(nautilus_window_unrealize): ditto.
2002-02-19 Bastien Nocera <hadess@hadess.net>
* src/nautilus-window-manage-views.c:

View file

@ -328,10 +328,12 @@ nautilus_view_set_frame (NautilusView *view,
bonobo_event_source_client_remove_listener (
view->details->event_source,
BONOBO_OBJREF (listener), NULL);
BONOBO_OBJREF (listener), &ev);
CORBA_Object_release (view->details->event_source, &ev);
bonobo_object_unref (BONOBO_OBJECT (listener));
CORBA_exception_free (&ev);
}
if (frame != CORBA_OBJECT_NIL) {

View file

@ -867,8 +867,8 @@ nautilus_window_unrealize (GtkWidget *widget)
property_bag = Bonobo_Control_getProperties (window->details->throbber, &ev);
if (!BONOBO_EX (&ev) && property_bag != CORBA_OBJECT_NIL) {
bonobo_event_source_client_remove_listener
(property_bag, window->details->throbber_listener, NULL);
bonobo_object_release_unref (property_bag, NULL);
(property_bag, window->details->throbber_listener, &ev);
bonobo_object_release_unref (property_bag, &ev);
}
CORBA_Object_release (window->details->throbber_listener, &ev);

View file

@ -867,8 +867,8 @@ nautilus_window_unrealize (GtkWidget *widget)
property_bag = Bonobo_Control_getProperties (window->details->throbber, &ev);
if (!BONOBO_EX (&ev) && property_bag != CORBA_OBJECT_NIL) {
bonobo_event_source_client_remove_listener
(property_bag, window->details->throbber_listener, NULL);
bonobo_object_release_unref (property_bag, NULL);
(property_bag, window->details->throbber_listener, &ev);
bonobo_object_release_unref (property_bag, &ev);
}
CORBA_Object_release (window->details->throbber_listener, &ev);

View file

@ -359,14 +359,16 @@ tab_item_destroy (TabItem *item)
}
if (item->listener != CORBA_OBJECT_NIL) {
CORBA_exception_init (&ev);
property_bag = get_property_bag (item);
if (property_bag != CORBA_OBJECT_NIL) {
bonobo_event_source_client_remove_listener
(property_bag, item->listener, NULL);
bonobo_object_release_unref (property_bag, NULL);
(property_bag, item->listener, &ev);
bonobo_object_release_unref (property_bag, &ev);
}
CORBA_exception_init (&ev);
CORBA_Object_release (item->listener, &ev);
CORBA_exception_free (&ev);
}

View file

@ -867,8 +867,8 @@ nautilus_window_unrealize (GtkWidget *widget)
property_bag = Bonobo_Control_getProperties (window->details->throbber, &ev);
if (!BONOBO_EX (&ev) && property_bag != CORBA_OBJECT_NIL) {
bonobo_event_source_client_remove_listener
(property_bag, window->details->throbber_listener, NULL);
bonobo_object_release_unref (property_bag, NULL);
(property_bag, window->details->throbber_listener, &ev);
bonobo_object_release_unref (property_bag, &ev);
}
CORBA_Object_release (window->details->throbber_listener, &ev);

View file

@ -867,8 +867,8 @@ nautilus_window_unrealize (GtkWidget *widget)
property_bag = Bonobo_Control_getProperties (window->details->throbber, &ev);
if (!BONOBO_EX (&ev) && property_bag != CORBA_OBJECT_NIL) {
bonobo_event_source_client_remove_listener
(property_bag, window->details->throbber_listener, NULL);
bonobo_object_release_unref (property_bag, NULL);
(property_bag, window->details->throbber_listener, &ev);
bonobo_object_release_unref (property_bag, &ev);
}
CORBA_Object_release (window->details->throbber_listener, &ev);