summaryrefslogtreecommitdiff
path: root/gtk/gtkmenubar.h
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2002-10-05 01:51:16 +0000
committerManish Singh <yosh@src.gnome.org>2002-10-05 01:51:16 +0000
commit8409ada92ff408f41c3014ffa6401ce97da0e5ed (patch)
tree8ad6ffbe5247c05db1fa3231e51b773319499e38 /gtk/gtkmenubar.h
parent2ffa58f11d0fdfdee4859f37dd69bcec21b34e41 (diff)
downloadgdk-pixbuf-8409ada92ff408f41c3014ffa6401ce97da0e5ed.tar.gz
Deprecation cleanup
Fri Oct 4 18:40:50 2002 Manish Singh <yosh@gimp.org> * gtkcheckmenuitem.[ch] gtkimagemenuitem.[ch] gtkmenu.[ch] gtkmenubar.[ch] gtkmenuitem.[ch] gtkmenushell.[ch] gtkradiomenuitem.[ch]: Deprecation cleanup
Diffstat (limited to 'gtk/gtkmenubar.h')
-rw-r--r--gtk/gtkmenubar.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkmenubar.h b/gtk/gtkmenubar.h
index 767812241..f7a1831e6 100644
--- a/gtk/gtkmenubar.h
+++ b/gtk/gtkmenubar.h
@@ -38,11 +38,11 @@ extern "C" {
#define GTK_TYPE_MENU_BAR (gtk_menu_bar_get_type ())
-#define GTK_MENU_BAR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_MENU_BAR, GtkMenuBar))
-#define GTK_MENU_BAR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_MENU_BAR, GtkMenuBarClass))
-#define GTK_IS_MENU_BAR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_MENU_BAR))
-#define GTK_IS_MENU_BAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MENU_BAR))
-#define GTK_MENU_BAR_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_MENU_BAR, GtkMenuBarClass))
+#define GTK_MENU_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_MENU_BAR, GtkMenuBar))
+#define GTK_MENU_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_MENU_BAR, GtkMenuBarClass))
+#define GTK_IS_MENU_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_MENU_BAR))
+#define GTK_IS_MENU_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MENU_BAR))
+#define GTK_MENU_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_MENU_BAR, GtkMenuBarClass))
typedef struct _GtkMenuBar GtkMenuBar;
@@ -65,7 +65,7 @@ struct _GtkMenuBarClass
};
-GtkType gtk_menu_bar_get_type (void) G_GNUC_CONST;
+GType gtk_menu_bar_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_menu_bar_new (void);
#ifndef GTK_DISABLE_DEPRECATED