diff options
author | Timm Bäder <mail@baedert.org> | 2018-12-21 09:14:20 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2018-12-31 12:44:02 +0100 |
commit | 3b46e2a558f6db8dc500dcc268ba5a24324ca295 (patch) | |
tree | 8286d66e97e8da3c72e4ee2cbbd8a7247c741c05 /gtk | |
parent | 480a04131c70eaeb379d3f587a7c5206e52a0da1 (diff) | |
download | gtk+-3b46e2a558f6db8dc500dcc268ba5a24324ca295.tar.gz |
image: Remove private struct from public header
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkimage.c | 9 | ||||
-rw-r--r-- | gtk/gtkimage.h | 1 |
2 files changed, 4 insertions, 6 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); diff --git a/gtk/gtkimage.h b/gtk/gtkimage.h index eb98055655..87f47bb7be 100644 --- a/gtk/gtkimage.h +++ b/gtk/gtkimage.h @@ -45,7 +45,6 @@ G_BEGIN_DECLS typedef struct _GtkImage GtkImage; -typedef struct _GtkImagePrivate GtkImagePrivate; typedef struct _GtkImageClass GtkImageClass; /** |