summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2008-07-04 21:04:10 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-07-04 21:04:10 +0000
commit7f874a4d195bccf7fe395df949c9877210755f30 (patch)
tree9314d6053172e9c66086b4845b05b2146dd8345d
parenta46f8f3726387a25e0477e0b41090122e3c42f34 (diff)
downloadgtk+-7f874a4d195bccf7fe395df949c9877210755f30.tar.gz
Fix the getter for text-length
svn path=/trunk/; revision=20768
-rw-r--r--ChangeLog2
-rw-r--r--gtk/gtkentry.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 07e4283802..5fa781aeb7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2008-07-04 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkentry.c: Fix the property getter for text-length property.
+
* gtk/gtkaccelgroup.c: Fix default value for modifier-mask property.
2008-07-04 Matthias Clasen <mclasen@redhat.com>
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 2407062254..286b3ca077 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -1131,7 +1131,7 @@ gtk_entry_get_property (GObject *object,
g_value_set_boolean (value, entry->overwrite_mode);
break;
case PROP_TEXT_LENGTH:
- g_value_set_boolean (value, entry->text_length);
+ g_value_set_uint (value, entry->text_length);
break;
default: