summaryrefslogtreecommitdiff
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-21 09:14:20 +0100
commit817303a41e6aa272aada9eebcbb05129553d292a (patch)
tree2abab66d8c11f79e3ddbf9bb87a7bbd0d764aca6
parent84645366a4b5f087bc132317c73436796d09f9be (diff)
downloadgtk+-817303a41e6aa272aada9eebcbb05129553d292a.tar.gz
image: Remove private struct from public header
-rw-r--r--gtk/gtkimage.c4
-rw-r--r--gtk/gtkimage.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index 953a9051be..0dc39f427b 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -77,7 +77,7 @@
*/
-struct _GtkImagePrivate
+typedef struct
{
GtkIconHelper *icon_helper;
GtkIconSize icon_size;
@@ -86,7 +86,7 @@ struct _GtkImagePrivate
char *filename;
char *resource_path;
-};
+} GtkImagePrivate;
static void gtk_image_snapshot (GtkWidget *widget,
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;
/**