aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/test-mail.c6
1 files changed, 5 insertions, 1 deletions
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);
g/net?h=gnome-3.24&id=b42450f2d1468a538f48ae81ac7c9222e98fb8e3'>net/p5-Net
Commit message (Expand)AuthorAgeFilesLines
* Update to 0.18mat2004-03-232-4/+4
* Add SIZE fieldmat2004-01-291-0/+1