From 8b2ca2678997eee8b2b50206f51c72fbe242f972 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Thu, 21 Sep 2000 14:13:27 +0000 Subject: s/Bonobo_UIHandler/Bonobo_UIContainer/ s/include "bonobo-ui-handler.h"/include "bonobo-ui-compat.h"/ svn path=/trunk/; revision=5539 --- mail/folder-browser-factory.c | 9 ++++----- mail/message-list.h | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'mail') diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index 39c774f7e1..1ba9a16c80 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -164,15 +164,14 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih, FolderBrowser *fb) { GtkWidget *folder_browser; - Bonobo_UIHandler remote_uih; BonoboUIComponent *component; Bonobo_UIContainer container; - remote_uih = bonobo_control_get_remote_ui_handler (control); - bonobo_ui_handler_set_container (uih, remote_uih); - bonobo_object_release_unref (remote_uih, NULL); + container = bonobo_control_get_remote_ui_handler (control); + bonobo_ui_handler_set_container (uih, container); + bonobo_object_release_unref (container, NULL); - container = bonobo_ui_compat_get_container (uih); + g_assert (container == bonobo_ui_compat_get_container (uih)); g_return_if_fail (container != CORBA_OBJECT_NIL); folder_browser = bonobo_control_get_widget (control); diff --git a/mail/message-list.h b/mail/message-list.h index e65a06b327..4871d74a8a 100644 --- a/mail/message-list.h +++ b/mail/message-list.h @@ -6,7 +6,7 @@ #include "mail-types.h" #include #include -#include +#include #include #include #include -- cgit v1.2.3