diff options
Diffstat (limited to 'src/nautilus-navigation-bar.h')
-rw-r--r-- | src/nautilus-navigation-bar.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/nautilus-navigation-bar.h b/src/nautilus-navigation-bar.h index 78e276f8d..5a23bccd0 100644 --- a/src/nautilus-navigation-bar.h +++ b/src/nautilus-navigation-bar.h @@ -31,13 +31,17 @@ #include <gtk/gtk.h> -#define NAUTILUS_TYPE_NAVIGATION_BAR (nautilus_navigation_bar_get_type ()) +#define NAUTILUS_TYPE_NAVIGATION_BAR nautilus_navigation_bar_get_type() #define NAUTILUS_NAVIGATION_BAR(obj) \ - GTK_CHECK_CAST (obj, NAUTILUS_TYPE_NAVIGATION_BAR, NautilusNavigationBar) + (G_TYPE_CHECK_INSTANCE_CAST ((obj), NAUTILUS_TYPE_NAVIGATION_BAR, NautilusNavigationBar)) #define NAUTILUS_NAVIGATION_BAR_CLASS(klass) \ - GTK_CHECK_CLASS_CAST (klass, NAUTILUS_TYPE_NAVIGATION_BAR, NautilusNavigationBarClass) + (G_TYPE_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_NAVIGATION_BAR, NautilusNavigationBarClass)) #define NAUTILUS_IS_NAVIGATION_BAR(obj) \ - GTK_CHECK_TYPE (obj, NAUTILUS_TYPE_NAVIGATION_BAR) + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NAUTILUS_TYPE_NAVIGATION_BAR)) +#define NAUTILUS_IS_NAVIGATION_BAR_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_NAVIGATION_BAR)) +#define NAUTILUS_NAVIGATION_BAR_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), NAUTILUS_TYPE_NAVIGATION_BAR, NautilusNavigationBarClass)) typedef struct { GtkHBox parent; |