[contact-lookup-applet] Don't use GtkObject macros



commit 6975a51d67a655314f3814a1f37a356ac51bbbc6
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jun 25 16:10:57 2009 +0100

    Don't use GtkObject macros
    
    2009-06-25  Bastien Nocera  <hadess hadess net>
    
    	* src/e-contact-entry.h: Don't use GtkObject macros,
    	they're deprecated

 ChangeLog             |    5 +++++
 src/e-contact-entry.h |   17 +++++++++++------
 2 files changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8dd9de8..906ea93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-25  Bastien Nocera  <hadess hadess net>
+
+	* src/e-contact-entry.h: Don't use GtkObject macros,
+	they're deprecated
+
 2008-12-12  PrzemysÅ?aw Grzegorczyk  <pgrzegorczyk gmail com>
 
 	* src/glade-utils.c:
diff --git a/src/e-contact-entry.h b/src/e-contact-entry.h
index 838695e..bf6b39b 100644
--- a/src/e-contact-entry.h
+++ b/src/e-contact-entry.h
@@ -30,12 +30,17 @@
 
 G_BEGIN_DECLS
 
-#define E_TYPE_CONTACT_ENTRY (e_contact_entry_get_type ())
-#define E_CONTACT_ENTRY(obj) (GTK_CHECK_CAST ((obj), e_contact_entry_get_type (), EContactEntry))
-#define E_CONTACT_ENTRY_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), e_contact_entry_get_type (), EContactEntryClass))
-#define E_IS_CONTACT_ENTRY(obj) (GTK_CHECK_TYPE (obj, e_contact_entry_get_type ()))
-#define E_IS_CONTACT_ENTRY_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), e_contact_entry_get_type ()))
-#define E_CONTACT_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), E_CONTACT_ENTRY_TYPE, EContactEntryClass))
+#define E_TYPE_CONTACT_ENTRY (e_contact_entry_get_type())
+#define E_CONTACT_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
+				E_TYPE_CONTACT_ENTRY, EContactEntry))
+#define E_CONTACT_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
+				E_TYPE_CONTACT_ENTRY, EContactEntryClass))
+#define E_IS_CONTACT_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
+						E_TYPE_CONTACT_ENTRY))
+#define E_IS_CONTACT_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), \
+						E_TYPE_CONTACT_ENTRY))
+#define E_GET_CONTACT_ENTRY_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), \
+				E_TYPE_CONTACT_ENTRY, EContactEntryClass))
 
 typedef struct EContactEntryPriv EContactEntryPriv;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]