summaryrefslogtreecommitdiff
path: root/src/nautilus-sidebar-title.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-sidebar-title.h')
-rw-r--r--src/nautilus-sidebar-title.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/nautilus-sidebar-title.h b/src/nautilus-sidebar-title.h
index 030cb64d9..25e3cdc5d 100644
--- a/src/nautilus-sidebar-title.h
+++ b/src/nautilus-sidebar-title.h
@@ -33,11 +33,17 @@
#include <eel/eel-background.h>
#include <libnautilus-private/nautilus-file.h>
-#define NAUTILUS_TYPE_SIDEBAR_TITLE (nautilus_sidebar_title_get_type ())
-#define NAUTILUS_SIDEBAR_TITLE(obj) (GTK_CHECK_CAST ((obj), NAUTILUS_TYPE_SIDEBAR_TITLE, NautilusSidebarTitle))
-#define NAUTILUS_SIDEBAR_TITLE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_SIDEBAR_TITLE, NautilusSidebarTitleClass))
-#define NAUTILUS_IS_SIDEBAR_TITLE(obj) (GTK_CHECK_TYPE ((obj), NAUTILUS_TYPE_SIDEBAR_TITLE))
-#define NAUTILUS_IS_SIDEBAR_TITLE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_SIDEBAR_TITLE))
+#define NAUTILUS_TYPE_SIDEBAR_TITLE nautilus_sidebar_title_get_type()
+#define NAUTILUS_SIDEBAR_TITLE(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST ((obj), NAUTILUS_TYPE_SIDEBAR_TITLE, NautilusSidebarTitle))
+#define NAUTILUS_SIDEBAR_TITLE_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_SIDEBAR_TITLE, NautilusSidebarTitleClass))
+#define NAUTILUS_IS_SIDEBAR_TITLE(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NAUTILUS_TYPE_SIDEBAR_TITLE))
+#define NAUTILUS_IS_SIDEBAR_TITLE_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_SIDEBAR_TITLE))
+#define NAUTILUS_SIDEBAR_TITLE_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS ((obj), NAUTILUS_TYPE_SIDEBAR_TITLE, NautilusSidebarTitleClass))
typedef struct NautilusSidebarTitleDetails NautilusSidebarTitleDetails;