forked from AuroraMiddleware/gtk
Fix the getter for text-length
svn path=/trunk/; revision=20768
This commit is contained in:
parent
a46f8f3726
commit
7f874a4d19
@ -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>
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user