[nautilus] Remove some more GTK+ deprecated macros



commit 3ffebcdbf5b5ba7e6b018f542fdc39522a42d1b2
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Apr 22 10:35:41 2009 +0200

    Remove some more GTK+ deprecated macros
    
    Remove some other bits (hopefully the last) of deprecated GTK+ macros.
---
 src/nautilus-history-sidebar.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/nautilus-history-sidebar.c b/src/nautilus-history-sidebar.c
index f1c8b5f..444b9fe 100644
--- a/src/nautilus-history-sidebar.c
+++ b/src/nautilus-history-sidebar.c
@@ -43,9 +43,12 @@
 
 #include "nautilus-history-sidebar.h"
 
-#define NAUTILUS_HISTORY_SIDEBAR_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_HISTORY_SIDEBAR, NautilusHistorySidebarClass))
-#define NAUTILUS_IS_HISTORY_SIDEBAR(obj)         (GTK_CHECK_TYPE ((obj), NAUTILUS_TYPE_HISTORY_SIDEBAR))
-#define NAUTILUS_IS_HISTORY_SIDEBAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_HISTORY_SIDEBAR))
+#define NAUTILUS_HISTORY_SIDEBAR_CLASS(klass) \
+  (G_TYPE_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_HISTORY_SIDEBAR, NautilusHistorySidebarClass))
+#define NAUTILUS_IS_HISTORY_SIDEBAR(obj) \
+  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NAUTILUS_TYPE_HISTORY_SIDEBAR))
+#define NAUTILUS_IS_HISTORY_SIDEBAR_CLASS(klass) \
+  (G_TYPE_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_HISTORY_SIDEBAR))
 
 typedef struct {
 	GtkScrolledWindowClass parent;



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