Fix the getter for text-length

svn path=/trunk/; revision=20768
This commit is contained in:
Matthias Clasen 2008-07-04 21:04:10 +00:00
parent a46f8f3726
commit 7f874a4d19
2 changed files with 3 additions and 1 deletions

View File

@ -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>

View File

@ -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: