aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-02-17 12:23:51 +0800
committerDan Winship <danw@src.gnome.org>2000-02-17 12:23:51 +0800
commita646fdac36621c4450e00ad2121e4ac7a7d3993a (patch)
tree0daecd3d49a2abce6238acb5debea3d536533e5e
parentf369e9ef06b831e0cb45d6eed24334cc47c754a8 (diff)
downloadgsoc2013-evolution-a646fdac36621c4450e00ad2121e4ac7a7d3993a.tar
gsoc2013-evolution-a646fdac36621c4450e00ad2121e4ac7a7d3993a.tar.gz
gsoc2013-evolution-a646fdac36621c4450e00ad2121e4ac7a7d3993a.tar.bz2
gsoc2013-evolution-a646fdac36621c4450e00ad2121e4ac7a7d3993a.tar.lz
gsoc2013-evolution-a646fdac36621c4450e00ad2121e4ac7a7d3993a.tar.xz
gsoc2013-evolution-a646fdac36621c4450e00ad2121e4ac7a7d3993a.tar.zst
gsoc2013-evolution-a646fdac36621c4450e00ad2121e4ac7a7d3993a.zip
update for bonobo changes
svn path=/trunk/; revision=1819
-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);