diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-06-28 23:21:58 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-07-13 19:40:48 +0200 |
commit | 4d7ecabaf0fbc0dd248d46031e01c50cdc93d201 (patch) | |
tree | f90dc88306432d49bf9046fdda5be8ea31bcbc42 /gtk/gtkmenubar.h | |
parent | a3b039d3175a8fb91a6b76005288911ad3199c4f (diff) | |
download | gtk+-4d7ecabaf0fbc0dd248d46031e01c50cdc93d201.tar.gz |
GtkMenuBar: Use private pointer instead GET_PRIV() macro all the time
Diffstat (limited to 'gtk/gtkmenubar.h')
-rw-r--r-- | gtk/gtkmenubar.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk/gtkmenubar.h b/gtk/gtkmenubar.h index 050fb4846b..2120945180 100644 --- a/gtk/gtkmenubar.h +++ b/gtk/gtkmenubar.h @@ -45,12 +45,16 @@ G_BEGIN_DECLS #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; -typedef struct _GtkMenuBarClass GtkMenuBarClass; +typedef struct _GtkMenuBar GtkMenuBar; +typedef struct _GtkMenuBarPrivate GtkMenuBarPrivate; +typedef struct _GtkMenuBarClass GtkMenuBarClass; struct _GtkMenuBar { GtkMenuShell menu_shell; + + /* <private> */ + GtkMenuBarPrivate *priv; }; struct _GtkMenuBarClass |