]> Pileus Git - ~andy/gtk/commitdiff
GtkEntry: pack GtkEntryPrivate a bit better
authorMatthias Clasen <mclasen@redhat.com>
Fri, 31 Aug 2012 02:14:23 +0000 (22:14 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 31 Aug 2012 02:14:23 +0000 (22:14 -0400)
gtk/gtkentry.c

index cb1c56a74199798c8afcfbfc808b633ac74ba58b..4de43e24290578a6395e59dbc079c5e399c31fa2 100644 (file)
@@ -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)
+{
+}