diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-06-23 22:40:31 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-07-13 19:40:48 +0200 |
commit | 86f0bd5cc9555e8cbbe79056e5f26782a56f5e64 (patch) | |
tree | 004204384f745bac0871445c5374f28ab21fb2ed /gtk/gtkimage.h | |
parent | 41d2a4d059d881d8d05419013ae4946a81b308cb (diff) | |
download | gtk+-86f0bd5cc9555e8cbbe79056e5f26782a56f5e64.tar.gz |
GtkImage: move public members to private structure
Diffstat (limited to 'gtk/gtkimage.h')
-rw-r--r-- | gtk/gtkimage.h | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/gtk/gtkimage.h b/gtk/gtkimage.h index eb60306155..f43c069125 100644 --- a/gtk/gtkimage.h +++ b/gtk/gtkimage.h @@ -47,6 +47,7 @@ G_BEGIN_DECLS typedef struct _GtkImage GtkImage; +typedef struct _GtkImagePriv GtkImagePriv; typedef struct _GtkImageClass GtkImageClass; typedef struct _GtkImagePixmapData GtkImagePixmapData; @@ -150,25 +151,8 @@ struct _GtkImage { GtkMisc misc; - GtkImageType GSEAL (storage_type); - - union - { - GtkImagePixmapData pixmap; - GtkImageImageData image; - GtkImagePixbufData pixbuf; - GtkImageStockData stock; - GtkImageIconSetData icon_set; - GtkImageAnimationData anim; - GtkImageIconNameData name; - GtkImageGIconData gicon; - } GSEAL (data); - - /* Only used with GTK_IMAGE_PIXMAP, GTK_IMAGE_IMAGE */ - GdkBitmap *GSEAL (mask); - - /* Only used with GTK_IMAGE_STOCK, GTK_IMAGE_ICON_SET, GTK_IMAGE_ICON_NAME */ - GtkIconSize GSEAL (icon_size); + /* <private> */ + GtkImagePriv *priv; }; struct _GtkImageClass |