diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2002-11-02 08:26:06 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2002-11-02 08:26:06 +0800 |
commit | b87002d69794ef55c90b21b9ee7ca58e40a64960 (patch) | |
tree | 7fa81487308b1372301d8c4531065d41fd7ddf45 /calendar/pcs/cal-factory.c | |
parent | 793f838a7be8618034e8544ca364c0f09457f316 (diff) | |
download | gsoc2013-evolution-b87002d69794ef55c90b21b9ee7ca58e40a64960.tar gsoc2013-evolution-b87002d69794ef55c90b21b9ee7ca58e40a64960.tar.gz gsoc2013-evolution-b87002d69794ef55c90b21b9ee7ca58e40a64960.tar.bz2 gsoc2013-evolution-b87002d69794ef55c90b21b9ee7ca58e40a64960.tar.lz gsoc2013-evolution-b87002d69794ef55c90b21b9ee7ca58e40a64960.tar.xz 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/pcs/cal-factory.c')
-rw-r--r-- | calendar/pcs/cal-factory.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/calendar/pcs/cal-factory.c b/calendar/pcs/cal-factory.c index 4c5ea41db1..1a12a77e03 100644 --- a/calendar/pcs/cal-factory.c +++ b/calendar/pcs/cal-factory.c @@ -23,7 +23,7 @@ #include <ctype.h> #include <stdio.h> #include <gtk/gtksignal.h> -#include <liboaf/liboaf.h> +#include <bonobo-activation/bonobo-activation.h> #include "e-util/e-url.h" #include "evolution-calendar.h" #include "cal.h" @@ -618,7 +618,7 @@ cal_factory_destroy (GtkObject *object) priv->backends = NULL; if (priv->registered) { - oaf_active_server_unregister (priv->iid, BONOBO_OBJREF (factory)); + bonobo_activation_active_server_unregister (priv->iid, BONOBO_OBJREF (factory)); priv->registered = FALSE; } g_free (priv->iid); @@ -642,7 +642,7 @@ cal_factory_class_init (CalFactoryClass *klass) signals[LAST_CALENDAR_GONE] = gtk_signal_new ("last_calendar_gone", GTK_RUN_FIRST, - object_class->type, + G_TYPE_FROM_CLASS (object_class), GTK_SIGNAL_OFFSET (CalFactoryClass, last_calendar_gone), gtk_marshal_NONE__NONE, GTK_TYPE_NONE, 0); @@ -705,7 +705,7 @@ gboolean cal_factory_oaf_register (CalFactory *factory, const char *iid) { CalFactoryPrivate *priv; - OAF_RegistrationResult result; + Bonobo_RegistrationResult result; char *tmp_iid; g_return_val_if_fail (factory != NULL, FALSE); @@ -721,25 +721,25 @@ cal_factory_oaf_register (CalFactory *factory, const char *iid) else tmp_iid = g_strdup (DEFAULT_CAL_FACTORY_OAF_ID); - result = oaf_active_server_register (tmp_iid, BONOBO_OBJREF (factory)); + result = bonobo_activation_active_server_register (tmp_iid, BONOBO_OBJREF (factory)); switch (result) { - case OAF_REG_SUCCESS: + case Bonobo_ACTIVATION_REG_SUCCESS: priv->registered = TRUE; priv->iid = tmp_iid; return TRUE; - case OAF_REG_NOT_LISTED: + case Bonobo_ACTIVATION_REG_NOT_LISTED: g_message ("cal_factory_oaf_register(): Cannot register the calendar factory: " "not listed"); break; - case OAF_REG_ALREADY_ACTIVE: + case Bonobo_ACTIVATION_REG_ALREADY_ACTIVE: g_message ("cal_factory_oaf_register(): Cannot register the calendar factory: " "already active"); break; - case OAF_REG_ERROR: + case Bonobo_ACTIVATION_REG_ERROR: default: g_message ("cal_factory_oaf_register(): Cannot register the calendar factory: " "generic error"); |