aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-client/client-test.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2002-11-02 08:26:06 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2002-11-02 08:26:06 +0800
commitb87002d69794ef55c90b21b9ee7ca58e40a64960 (patch)
tree7fa81487308b1372301d8c4531065d41fd7ddf45 /calendar/cal-client/client-test.c
parent793f838a7be8618034e8544ca364c0f09457f316 (diff)
downloadgsoc2013-evolution-b87002d69794ef55c90b21b9ee7ca58e40a64960.tar.gz
gsoc2013-evolution-b87002d69794ef55c90b21b9ee7ca58e40a64960.tar.zst
gsoc2013-evolution-b87002d69794ef55c90b21b9ee7ca58e40a64960.zip
cal-client/cal-listener.h
2002-10-31 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-component.[ch]: * cal-util/cal-recur.h: * cal-util/cal-util.[ch]: * cal-client/cal-client.h: * cal-client/cal-client-multi.h: * cal-client/cal-client-types.[ch]: * cal-client/cal-listener.h * cal-client/cal-query.[ch]: * cal-client/query-listener.h: * pcs/cal.h: * pcs/cal-backend.[ch]: * pcs/cal-backend-file.h: * pcs/cal-backend-util.h: * pcs/cal-common.h: * pcs/cal-factory.h: * pcs/query.[ch]: * pcs/query-backend.[ch]: started GNOME 2 porting. cal-util, cal-client and pcs compiled ok. * cal-client/cal-client.c (cal_client_construct): * pcs/cal-factory.c: use b-a instead of OAF and bonobo-config instead of bonobo-conf. svn path=/trunk/; revision=18496
Diffstat (limited to 'calendar/cal-client/client-test.c')
-rw-r--r--calendar/cal-client/client-test.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/calendar/cal-client/client-test.c b/calendar/cal-client/client-test.c
index 56651566eb..cbd6335acc 100644
--- a/calendar/cal-client/client-test.c
+++ b/calendar/cal-client/client-test.c
@@ -23,10 +23,9 @@
#include <stdlib.h>
#include <gtk/gtkmain.h>
#include <gtk/gtksignal.h>
-#include <libgnome/gnome-defs.h>
#include <libgnome/gnome-i18n.h>
-#include <libgnomeui/gnome-init.h>
-#include <liboaf/liboaf.h>
+#include <libgnome/gnome-init.h>
+#include <bonobo-activation/bonobo-activation.h>
#include <bonobo/bonobo-main.h>
#include "cal-client.h"
#include "cal-util/cal-component.h"
@@ -221,10 +220,10 @@ main (int argc, char **argv)
bindtextdomain (PACKAGE, GNOMELOCALEDIR);
textdomain (PACKAGE);
- gnome_init ("tl-test", VERSION, argc, argv);
+ gnome_program_init ("tl-test", VERSION, LIBGNOME_MODULE, argc, argv, NULL);
oaf_init (argc, argv);
- if (!bonobo_init (CORBA_OBJECT_NIL, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL)) {
+ if (!bonobo_init (&argc, argv)) {
g_message ("main(): could not initialize Bonobo");
exit (1);
}