[gtk] entry: Use standard padding
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] entry: Use standard padding
- Date: Mon, 27 May 2019 03:04:59 +0000 (UTC)
commit ff115472e30a2b19ae0b564b4fc7031d39c946a7
Author: Matthias Clasen <mclasen redhat com>
Date: Mon May 27 03:03:47 2019 +0000
entry: Use standard padding
gtk/gtkentry.c | 1 +
gtk/gtkentry.h | 9 +--------
2 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 1193d3e8df..302a908e9c 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -153,6 +153,7 @@ static GQuark quark_entry_completion = 0;
typedef struct _EntryIconInfo EntryIconInfo;
+typedef struct _GtkEntryPrivate GtkEntryPrivate;
struct _GtkEntryPrivate
{
EntryIconInfo *icons[MAX_ICONS];
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h
index d6948686d4..1048382271 100644
--- a/gtk/gtkentry.h
+++ b/gtk/gtkentry.h
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]