summaryrefslogtreecommitdiff
path: root/gtk/gtkentrybuffer.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-04-12 12:32:29 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-04-12 12:32:29 -0400
commitb3ca94a44ed967fd5888f63a70a78130e0b07989 (patch)
tree8bdd842fb360e23729f93647b8959e8f4921607b /gtk/gtkentrybuffer.c
parenta4e52ece331d0f383908679c416669c9a4ff429d (diff)
downloadgtk+-b3ca94a44ed967fd5888f63a70a78130e0b07989.tar.gz
GtkEntryBufferPrivate: Improve struct packing
Diffstat (limited to 'gtk/gtkentrybuffer.c')
-rw-r--r--gtk/gtkentrybuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkentrybuffer.c b/gtk/gtkentrybuffer.c
index 179a720015..bd05b8275e 100644
--- a/gtk/gtkentrybuffer.c
+++ b/gtk/gtkentrybuffer.c
@@ -69,13 +69,13 @@ static guint signals[LAST_SIGNAL] = { 0 };
struct _GtkEntryBufferPrivate
{
- gint max_length;
-
/* Only valid if this class is not derived */
gchar *normal_text;
gsize normal_text_size;
gsize normal_text_bytes;
guint normal_text_chars;
+
+ gint max_length;
};
G_DEFINE_TYPE (GtkEntryBuffer, gtk_entry_buffer, G_TYPE_OBJECT);