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/demo/addressbook.c | 1 + 1 file changed, 1 insertion(+) (limited to 'addressbook/demo/addressbook.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, -- cgit v1.2.3