entry: Use standard padding

This commit is contained in:
Matthias Clasen 2019-05-27 03:03:47 +00:00
parent 30925a532d
commit ff115472e3
2 changed files with 2 additions and 8 deletions

View File

@ -153,6 +153,7 @@ static GQuark quark_entry_completion = 0;
typedef struct _EntryIconInfo EntryIconInfo;
typedef struct _GtkEntryPrivate GtkEntryPrivate;
struct _GtkEntryPrivate
{
EntryIconInfo *icons[MAX_ICONS];

View File

@ -66,7 +66,6 @@ typedef enum
} GtkEntryIconPosition;
typedef struct _GtkEntry GtkEntry;
typedef struct _GtkEntryPrivate GtkEntryPrivate;
typedef struct _GtkEntryClass GtkEntryClass;
struct _GtkEntry
@ -120,13 +119,7 @@ struct _GtkEntryClass
/*< private >*/
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
void (*_gtk_reserved5) (void);
void (*_gtk_reserved6) (void);
gpointer padding[8];
};
GDK_AVAILABLE_IN_ALL