summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbar.h
diff options
context:
space:
mode:
authorRadek Doulik <rodo@src.gnome.org>1998-02-01 08:50:08 +0000
committerRadek Doulik <rodo@src.gnome.org>1998-02-01 08:50:08 +0000
commit81fe36047e9bfbf27b224cd35cc869ca6082bf38 (patch)
treee12c2389cb054124f76bdcddbbd38b906b5bd93f /gtk/gtktoolbar.h
parentb0de5e73f5de82270c10d2acddc3b87bf7a8d063 (diff)
downloadgtk+-81fe36047e9bfbf27b224cd35cc869ca6082bf38.tar.gz
move enum GtkToolbarChildType before typedef to make gtktoolbar.h compile with c++ (or egcs at least :)
Diffstat (limited to 'gtk/gtktoolbar.h')
-rw-r--r--gtk/gtktoolbar.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/gtk/gtktoolbar.h b/gtk/gtktoolbar.h
index 65a26ff1b8..1497be340b 100644
--- a/gtk/gtktoolbar.h
+++ b/gtk/gtktoolbar.h
@@ -38,12 +38,6 @@ extern "C" {
#define GTK_TOOLBAR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_toolbar_get_type (), GtkToolbarClass)
#define GTK_IS_TOOLBAR(obj) GTK_CHECK_TYPE (obj, gtk_toolbar_get_type ())
-
-typedef enum _GtkToolbarChildType GtkToolbarChildType;
-typedef struct _GtkToolbarChild GtkToolbarChild;
-typedef struct _GtkToolbar GtkToolbar;
-typedef struct _GtkToolbarClass GtkToolbarClass;
-
enum _GtkToolbarChildType
{
GTK_TOOLBAR_CHILD_SPACE,
@@ -51,6 +45,11 @@ enum _GtkToolbarChildType
GTK_TOOLBAR_CHILD_WIDGET
};
+typedef enum _GtkToolbarChildType GtkToolbarChildType;
+typedef struct _GtkToolbarChild GtkToolbarChild;
+typedef struct _GtkToolbar GtkToolbar;
+typedef struct _GtkToolbarClass GtkToolbarClass;
+
struct _GtkToolbarChild
{
GtkToolbarChildType type;
@@ -59,7 +58,6 @@ struct _GtkToolbarChild
GtkWidget *label;
};
-
struct _GtkToolbar
{
GtkContainer container;