From 623b1de43d610df7dc767153aed62ec7e40894a6 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Fri, 4 Aug 2000 03:09:01 +0000 Subject: Everywhere unref the remote_uih having done a set_container. svn path=/trunk/; revision=4524 --- addressbook/ChangeLog | 6 ++++++ addressbook/demo/addressbook.c | 1 + addressbook/gui/component/addressbook.c | 1 + 3 files changed, 8 insertions(+) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index f0d9f72438..7e3cc004fc 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2000-08-04 Michael Meeks + + * gui/component/addressbook.c (control_activate): unref. + + * demo/addressbook.c (control_activate): unref. + 2000-08-02 Christopher James Lahey * contact-editor/e-contact-editor-categories.c, diff --git a/addressbook/demo/addressbook.c b/addressbook/demo/addressbook.c index 38cb6c7121..b273788118 100644 --- a/addressbook/demo/addressbook.c +++ b/addressbook/demo/addressbook.c @@ -98,6 +98,7 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih) remote_uih = bonobo_control_get_remote_ui_handler (control); bonobo_ui_handler_set_container (uih, remote_uih); + bonobo_object_release_unref (remote_uih, NULL); bonobo_ui_handler_menu_new_item (uih, "/Actions/New Contact", N_("_New Contact"), NULL, -1, diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index a4ca8358f3..bf2b054280 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -485,6 +485,7 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih, remote_uih = bonobo_control_get_remote_ui_handler (control); bonobo_ui_handler_set_container (uih, remote_uih); + bonobo_object_release_unref (remote_uih, NULL); bonobo_ui_handler_menu_new_separator (uih, "/View/", -1); -- cgit v1.2.3