[gtk+/composite-templates] GtkEntry: pack GtkEntryPrivate a bit better
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/composite-templates] GtkEntry: pack GtkEntryPrivate a bit better
- Date: Fri, 14 Sep 2012 21:23:02 +0000 (UTC)
commit f96990e6792d8aae17279f96b494ed4231b3cddd
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Aug 30 22:14:23 2012 -0400
GtkEntry: pack GtkEntryPrivate a bit better
gtk/gtkentry.c | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index cb1c56a..4de43e2 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)
+{
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]