diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2002-11-07 19:58:34 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2002-11-07 19:58:34 +0800 |
commit | dd5ab1f16800794a475a8c0d8b7cf74641bc9a7f (patch) | |
tree | 201953aa42d12af1c2f23c375b8274443874003c /calendar/pcs/cal-backend.h | |
parent | b89320e2f3d0a8c69dd6ecfd33b125481cd837d8 (diff) | |
download | gsoc2013-evolution-dd5ab1f16800794a475a8c0d8b7cf74641bc9a7f.tar gsoc2013-evolution-dd5ab1f16800794a475a8c0d8b7cf74641bc9a7f.tar.gz gsoc2013-evolution-dd5ab1f16800794a475a8c0d8b7cf74641bc9a7f.tar.bz2 gsoc2013-evolution-dd5ab1f16800794a475a8c0d8b7cf74641bc9a7f.tar.lz gsoc2013-evolution-dd5ab1f16800794a475a8c0d8b7cf74641bc9a7f.tar.xz gsoc2013-evolution-dd5ab1f16800794a475a8c0d8b7cf74641bc9a7f.tar.zst gsoc2013-evolution-dd5ab1f16800794a475a8c0d8b7cf74641bc9a7f.zip |
GObjectify.
2002-11-07 Rodrigo Moya <rodrigo@ximian.com>
* pcs/cal-backend-file.[ch]:
* pcs/cal-backend.[ch]: GObjectify.
svn path=/trunk/; revision=18629
Diffstat (limited to 'calendar/pcs/cal-backend.h')
-rw-r--r-- | calendar/pcs/cal-backend.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/calendar/pcs/cal-backend.h b/calendar/pcs/cal-backend.h index c0e969165a..b0790e8e73 100644 --- a/calendar/pcs/cal-backend.h +++ b/calendar/pcs/cal-backend.h @@ -36,11 +36,11 @@ G_BEGIN_DECLS #define CAL_BACKEND_TYPE (cal_backend_get_type ()) -#define CAL_BACKEND(obj) (GTK_CHECK_CAST ((obj), CAL_BACKEND_TYPE, CalBackend)) -#define CAL_BACKEND_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), CAL_BACKEND_TYPE, \ +#define CAL_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CAL_BACKEND_TYPE, CalBackend)) +#define CAL_BACKEND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CAL_BACKEND_TYPE, \ CalBackendClass)) -#define IS_CAL_BACKEND(obj) (GTK_CHECK_TYPE ((obj), CAL_BACKEND_TYPE)) -#define IS_CAL_BACKEND_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), CAL_BACKEND_TYPE)) +#define IS_CAL_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CAL_BACKEND_TYPE)) +#define IS_CAL_BACKEND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CAL_BACKEND_TYPE)) /* Open status values */ typedef enum { @@ -74,12 +74,12 @@ typedef enum { } CalBackendGetAlarmsForObjectResult; struct _CalBackend { - GtkObject object; + GObject object; GList *clients; }; struct _CalBackendClass { - GtkObjectClass parent_class; + GObjectClass parent_class; /* Notification signals */ void (* last_client_gone) (CalBackend *backend); @@ -144,7 +144,7 @@ struct _CalBackendClass { gboolean (* set_default_timezone) (CalBackend *backend, const char *tzid); }; -GtkType cal_backend_get_type (void); +GType cal_backend_get_type (void); const char *cal_backend_get_uri (CalBackend *backend); |