summaryrefslogtreecommitdiff
path: root/gtk/gtkmenubar.h
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-06-07 12:22:45 +0000
committerTim Janik <timj@src.gnome.org>1998-06-07 12:22:45 +0000
commit50a9ba1f26725f87e634acc309d70839cde64672 (patch)
tree192026d7913519e7aaba2c53a19170d713f1d92f /gtk/gtkmenubar.h
parente47f60d702eafc2dd9e01912a19d80b50ccdfe55 (diff)
downloadgdk-pixbuf-50a9ba1f26725f87e634acc309d70839cde64672.tar.gz
further additions to fit the gimp's code. additions to the dumping code to
Sun Jun 7 10:53:02 1998 Tim Janik <timj@gtk.org> * gtk/gtkitemfactory.h: * gtk/gtkitemfactory.c: further additions to fit the gimp's code. additions to the dumping code to feature GtkPatternSpec. even found a bug to fix in the original code ;)
Diffstat (limited to 'gtk/gtkmenubar.h')
-rw-r--r--gtk/gtkmenubar.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/gtk/gtkmenubar.h b/gtk/gtkmenubar.h
index cc92b34c6..801d8f2b9 100644
--- a/gtk/gtkmenubar.h
+++ b/gtk/gtkmenubar.h
@@ -26,12 +26,14 @@
#ifdef __cplusplus
extern "C" {
+#pragma }
#endif /* __cplusplus */
-
-#define GTK_MENU_BAR(obj) GTK_CHECK_CAST (obj, gtk_menu_bar_get_type (), GtkMenuBar)
-#define GTK_MENU_BAR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_menu_bar_get_type (), GtkMenuBarClass)
-#define GTK_IS_MENU_BAR(obj) GTK_CHECK_TYPE (obj, gtk_menu_bar_get_type ())
+#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))
typedef struct _GtkMenuBar GtkMenuBar;
@@ -48,7 +50,7 @@ struct _GtkMenuBarClass
};
-guint gtk_menu_bar_get_type (void);
+GtkType gtk_menu_bar_get_type (void);
GtkWidget* gtk_menu_bar_new (void);
void gtk_menu_bar_append (GtkMenuBar *menu_bar,
GtkWidget *child);