[phonemgr] Fix compiling with make CFLAGS+="-DGTK_DISABLE_DEPRECATED"
- From: Daniele Forsi <dforsi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [phonemgr] Fix compiling with make CFLAGS+="-DGTK_DISABLE_DEPRECATED"
- Date: Sun, 5 Jun 2011 21:55:31 +0000 (UTC)
commit 0255e37dd3898bd07eac118758539b30b0bf1541
Author: Daniele Forsi <dforsi src gnome org>
Date: Sun Jun 5 22:37:58 2011 +0200
Fix compiling with make CFLAGS+="-DGTK_DISABLE_DEPRECATED"
src/e-phone-entry.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/e-phone-entry.h b/src/e-phone-entry.h
index 2b4eae6..2431836 100644
--- a/src/e-phone-entry.h
+++ b/src/e-phone-entry.h
@@ -29,10 +29,10 @@
G_BEGIN_DECLS
-#define E_PHONE_ENTRY(obj) (GTK_CHECK_CAST ((obj), e_phone_entry_get_type (), EPhoneEntry))
-#define E_PHONE_ENTRY_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), e_phone_entry_get_type (), EPhoneEntryClass))
-#define E_IS_PHONE_ENTRY(obj) (GTK_CHECK_TYPE (obj, e_phone_entry_get_type ()))
-#define E_IS_PHONE_ENTRY_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), e_phone_entry_get_type ()))
+#define E_PHONE_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), e_phone_entry_get_type (), EPhoneEntry))
+#define E_PHONE_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), e_phone_entry_get_type (), EPhoneEntryClass))
+#define E_IS_PHONE_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, e_phone_entry_get_type ()))
+#define E_IS_PHONE_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), e_phone_entry_get_type ()))
#define E_PHONE_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), E_PHONE_ENTRY_TYPE, EPhoneEntryClass))
typedef struct EPhoneEntry EPhoneEntry;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]