summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkimage.c9
-rw-r--r--gtk/gtkimage.h1
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;
/**