From a646fdac36621c4450e00ad2121e4ac7a7d3993a Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 17 Feb 2000 04:23:51 +0000 Subject: update for bonobo changes svn path=/trunk/; revision=1819 --- mail/test-mail.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/test-mail.c b/mail/test-mail.c index 883c7fedf4..1f8b217ce5 100644 --- a/mail/test-mail.c +++ b/mail/test-mail.c @@ -13,11 +13,15 @@ static void create_container (void) { GtkWidget *window, *control; + BonoboUIHandler *uih; window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_widget_show (window); - control = bonobo_widget_new_control ("GOADID:Evolution:FolderBrowser:1.0"); + uih = bonobo_ui_handler_new (); + control = bonobo_widget_new_control ("GOADID:Evolution:FolderBrowser:1.0", + bonobo_object_corba_objref (BONOBO_OBJECT (uih))); + if (control == NULL){ printf ("Could not launch mail control\n"); exit (1); -- cgit