aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/cal-factory.h
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2002-11-07 21:07:37 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2002-11-07 21:07:37 +0800
commite25263409df8e72ba17f300c8e6f2f4b533c7a1a (patch)
tree4e90c995a171c7933f878075116fce65a6ae1cbf /calendar/pcs/cal-factory.h
parentdd5ab1f16800794a475a8c0d8b7cf74641bc9a7f (diff)
downloadgsoc2013-evolution-e25263409df8e72ba17f300c8e6f2f4b533c7a1a.tar
gsoc2013-evolution-e25263409df8e72ba17f300c8e6f2f4b533c7a1a.tar.gz
gsoc2013-evolution-e25263409df8e72ba17f300c8e6f2f4b533c7a1a.tar.bz2
gsoc2013-evolution-e25263409df8e72ba17f300c8e6f2f4b533c7a1a.tar.lz
gsoc2013-evolution-e25263409df8e72ba17f300c8e6f2f4b533c7a1a.tar.xz
gsoc2013-evolution-e25263409df8e72ba17f300c8e6f2f4b533c7a1a.tar.zst
gsoc2013-evolution-e25263409df8e72ba17f300c8e6f2f4b533c7a1a.zip
converted to BonoboObject. (impl_Cal_get_query): bonobo_object_unref the
2002-11-07 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal.[ch]: converted to BonoboObject. (impl_Cal_get_query): bonobo_object_unref the query returned by cal_backend_get_query if we can't duplicate it. * pcs/query.[ch]: * pcs/cal-factory.[ch]: converted to BonoboObject. * pcs/query-backend.[ch]: * pcs/cal-backend-file.[ch]: * pcs/cal-backend.[ch]: GObjectify. svn path=/trunk/; revision=18630
Diffstat (limited to 'calendar/pcs/cal-factory.h')
-rw-r--r--calendar/pcs/cal-factory.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/calendar/pcs/cal-factory.h b/calendar/pcs/cal-factory.h
index e246056169..b7c370066b 100644
--- a/calendar/pcs/cal-factory.h
+++ b/calendar/pcs/cal-factory.h
@@ -21,7 +21,7 @@
#ifndef CAL_FACTORY_H
#define CAL_FACTORY_H
-#include <bonobo/bonobo-xobject.h>
+#include <bonobo/bonobo-object.h>
#include "pcs/evolution-calendar.h"
@@ -30,11 +30,11 @@ G_BEGIN_DECLS
#define CAL_FACTORY_TYPE (cal_factory_get_type ())
-#define CAL_FACTORY(obj) (GTK_CHECK_CAST ((obj), CAL_FACTORY_TYPE, CalFactory))
-#define CAL_FACTORY_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), CAL_FACTORY_TYPE, \
+#define CAL_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CAL_FACTORY_TYPE, CalFactory))
+#define CAL_FACTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CAL_FACTORY_TYPE, \
CalFactoryClass))
-#define IS_CAL_FACTORY(obj) (GTK_CHECK_TYPE ((obj), CAL_FACTORY_TYPE))
-#define IS_CAL_FACTORY_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), CAL_FACTORY_TYPE))
+#define IS_CAL_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CAL_FACTORY_TYPE))
+#define IS_CAL_FACTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CAL_FACTORY_TYPE))
typedef struct _CalFactory CalFactory;
typedef struct _CalFactoryClass CalFactoryClass;
@@ -42,14 +42,14 @@ typedef struct _CalFactoryClass CalFactoryClass;
typedef struct _CalFactoryPrivate CalFactoryPrivate;
struct _CalFactory {
- BonoboXObject object;
+ BonoboObject object;
/* Private data */
CalFactoryPrivate *priv;
};
struct _CalFactoryClass {
- BonoboXObjectClass parent_class;
+ BonoboObjectClass parent_class;
POA_GNOME_Evolution_Calendar_CalFactory__epv epv;
@@ -57,13 +57,13 @@ struct _CalFactoryClass {
void (* last_calendar_gone) (CalFactory *factory);
};
-GtkType cal_factory_get_type (void);
+GType cal_factory_get_type (void);
CalFactory *cal_factory_new (void);
gboolean cal_factory_oaf_register (CalFactory *factory, const char *iid);
void cal_factory_register_method (CalFactory *factory,
const char *method,
- GtkType backend_type);
+ GType backend_type);
int cal_factory_get_n_backends (CalFactory *factory);
void cal_factory_dump_active_backends (CalFactory *factory);