[evolution-data-server/dbus-calendar: 5/10] Fix EDataCalView type macros
- From: Ross Burton <rburton src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-data-server/dbus-calendar: 5/10] Fix EDataCalView type macros
- Date: Fri, 14 Aug 2009 07:29:35 +0000 (UTC)
commit 452ae41e9325ea26787a148e630b32af85fb6442
Author: Ross Burton <ross linux intel com>
Date: Wed Jul 1 12:12:09 2009 +0100
Fix EDataCalView type macros
calendar/libedata-cal/e-data-cal-view.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/calendar/libedata-cal/e-data-cal-view.h b/calendar/libedata-cal/e-data-cal-view.h
index e1d0259..a69f74e 100644
--- a/calendar/libedata-cal/e-data-cal-view.h
+++ b/calendar/libedata-cal/e-data-cal-view.h
@@ -31,10 +31,12 @@ G_BEGIN_DECLS
#define E_DATA_CAL_VIEW_TYPE (e_data_cal_view_get_type ())
-#define QUERY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_DATA_CAL_VIEW_TYPE, EDataCalView))
+#define E_DATA_CAL_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_DATA_CAL_VIEW_TYPE, EDataCalView))
#define E_DATA_CAL_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), E_DATA_CAL_VIEW_TYPE, EDataCalViewClass))
+#define E_IS_DATA_CAL_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_DATA_CAL_VIEW_TYPE))
+/* Deprecated macros */
+#define QUERY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_DATA_CAL_VIEW_TYPE, EDataCalView))
#define IS_QUERY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_DATA_CAL_VIEW_TYPE))
-#define IS_E_DATA_CAL_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), E_DATA_CAL_VIEW_TYPE))
typedef struct _EDataCalViewPrivate EDataCalViewPrivate;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]