mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
move enum GtkToolbarChildType before typedef to make gtktoolbar.h compile with c++ (or egcs at least :)
This commit is contained in:
parent
b0de5e73f5
commit
81fe36047e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user