image: Remove private struct from public header

This commit is contained in:
Timm Bäder 2018-12-21 09:14:20 +01:00
parent 480a04131c
commit 3b46e2a558
2 changed files with 4 additions and 6 deletions

View File

@ -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);

View File

@ -45,7 +45,6 @@ G_BEGIN_DECLS
typedef struct _GtkImage GtkImage;
typedef struct _GtkImagePrivate GtkImagePrivate;
typedef struct _GtkImageClass GtkImageClass;
/**