From ee2ad441cac0253f88b90a1bc156bc927f0fa081 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 30 Aug 2012 22:14:23 -0400 Subject: [PATCH] GtkEntry: pack GtkEntryPrivate a bit better --- gtk/gtkentry.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index cb1c56a741..4de43e2429 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -142,7 +142,6 @@ struct _GtkEntryPrivate GtkEntryBuffer *buffer; GtkIMContext *im_context; - GtkShadowType shadow_type; GtkWidget *popup_menu; GdkDevice *device; @@ -189,6 +188,7 @@ struct _GtkEntryPrivate guint16 preedit_length; /* length of preedit string, in bytes */ guint16 preedit_cursor; /* offset of cursor within preedit string, in chars */ + guint shadow_type : 4; guint editable : 1; guint in_drag : 1; guint overwrite_mode : 1; @@ -10458,3 +10458,14 @@ gtk_entry_get_input_hints (GtkEntry *entry) return hints; } + +void +gtk_entry_set_attributes (GtkEntry *entry, + PangoAttrList *attrs) +{ +} + +PangoAttrList * +gtk_entry_get_attributes (GtkEntry *attrs) +{ +}