diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2008-07-04 21:04:10 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-07-04 21:04:10 +0000 |
commit | 7f874a4d195bccf7fe395df949c9877210755f30 (patch) | |
tree | 9314d6053172e9c66086b4845b05b2146dd8345d | |
parent | a46f8f3726387a25e0477e0b41090122e3c42f34 (diff) | |
download | gtk+-7f874a4d195bccf7fe395df949c9877210755f30.tar.gz |
Fix the getter for text-length
svn path=/trunk/; revision=20768
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | gtk/gtkentry.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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: |