diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2002-11-07 21:07:37 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2002-11-07 21:07:37 +0800 |
commit | e25263409df8e72ba17f300c8e6f2f4b533c7a1a (patch) | |
tree | 4e90c995a171c7933f878075116fce65a6ae1cbf /calendar/pcs/query-backend.h | |
parent | dd5ab1f16800794a475a8c0d8b7cf74641bc9a7f (diff) | |
download | gsoc2013-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/query-backend.h')
-rw-r--r-- | calendar/pcs/query-backend.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/calendar/pcs/query-backend.h b/calendar/pcs/query-backend.h index 1e05ae597a..a6d9b5d8aa 100644 --- a/calendar/pcs/query-backend.h +++ b/calendar/pcs/query-backend.h @@ -27,25 +27,25 @@ G_BEGIN_DECLS #define QUERY_BACKEND_TYPE (query_backend_get_type ()) -#define QUERY_BACKEND(obj) (GTK_CHECK_CAST ((obj), QUERY_BACKEND_TYPE, QueryBackend)) -#define QUERY_BACKEND_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), QUERY_BACKEND_TYPE, QueryBackendClass)) -#define IS_QUERY_BACKEND(obj) (GTK_CHECK_TYPE ((obj), QUERY_BACKEND_TYPE)) -#define IS_QUERY_BACKEND_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), QUERY_BACKEND_TYPE)) +#define QUERY_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), QUERY_BACKEND_TYPE, QueryBackend)) +#define QUERY_BACKEND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), QUERY_BACKEND_TYPE, QueryBackendClass)) +#define IS_QUERY_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), QUERY_BACKEND_TYPE)) +#define IS_QUERY_BACKEND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), QUERY_BACKEND_TYPE)) typedef struct _QueryBackendPrivate QueryBackendPrivate; typedef struct { - GtkObject object; + GObject object; /* Private data */ QueryBackendPrivate *priv; } QueryBackend; typedef struct { - GtkObjectClass parent; + GObjectClass parent; } QueryBackendClass; -GtkType query_backend_get_type (void); +GType query_backend_get_type (void); QueryBackend *query_backend_new (Query *query, CalBackend *backend); GList *query_backend_get_uids (QueryBackend *qb, CalObjType type); CalComponent *query_backend_get_object_component (QueryBackend *qb, const char *uid); |