summaryrefslogtreecommitdiff
path: root/gtk/gtkimage.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2018-12-21 09:14:20 +0100
committerTimm Bäder <mail@baedert.org>2018-12-31 12:44:02 +0100
commit3b46e2a558f6db8dc500dcc268ba5a24324ca295 (patch)
tree8286d66e97e8da3c72e4ee2cbbd8a7247c741c05 /gtk/gtkimage.c
parent480a04131c70eaeb379d3f587a7c5206e52a0da1 (diff)
downloadgtk+-3b46e2a558f6db8dc500dcc268ba5a24324ca295.tar.gz
image: Remove private struct from public header
Diffstat (limited to 'gtk/gtkimage.c')
-rw-r--r--gtk/gtkimage.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index 5aa0ea5cb9..8acceb12e9 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -77,17 +77,16 @@
*/
-struct _GtkImagePrivate
+typedef struct
{
GtkIconHelper *icon_helper;
GtkIconSize icon_size;
float baseline_align;
- gchar *filename; /* Only used with GTK_IMAGE_SURFACE */
- gchar *resource_path; /* Only used with GTK_IMAGE_SURFACE */
-};
-
+ char *filename;
+ char *resource_path;
+} GtkImagePrivate;
static void gtk_image_snapshot (GtkWidget *widget,
GtkSnapshot *snapshot);