mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-07 09:10:11 +00:00
GtkEntryBufferPrivate: Improve struct packing
This commit is contained in:
parent
a4e52ece33
commit
b3ca94a44e
@ -69,13 +69,13 @@ static guint signals[LAST_SIGNAL] = { 0 };
|
|||||||
|
|
||||||
struct _GtkEntryBufferPrivate
|
struct _GtkEntryBufferPrivate
|
||||||
{
|
{
|
||||||
gint max_length;
|
|
||||||
|
|
||||||
/* Only valid if this class is not derived */
|
/* Only valid if this class is not derived */
|
||||||
gchar *normal_text;
|
gchar *normal_text;
|
||||||
gsize normal_text_size;
|
gsize normal_text_size;
|
||||||
gsize normal_text_bytes;
|
gsize normal_text_bytes;
|
||||||
guint normal_text_chars;
|
guint normal_text_chars;
|
||||||
|
|
||||||
|
gint max_length;
|
||||||
};
|
};
|
||||||
|
|
||||||
G_DEFINE_TYPE (GtkEntryBuffer, gtk_entry_buffer, G_TYPE_OBJECT);
|
G_DEFINE_TYPE (GtkEntryBuffer, gtk_entry_buffer, G_TYPE_OBJECT);
|
||||||
|
Loading…
Reference in New Issue
Block a user