summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-07-17 15:16:38 -0400
committerMatthias Clasen <mclasen@redhat.com>2009-07-17 15:16:38 -0400
commitc28d6b84fa1690c8b36bdb7c3c7056a8a627ab19 (patch)
tree3b3d3e3c88b9901af967e90096dad805cf0e521c /gtk
parent20dc8509f8fd41f9ff15629d3be8dd4295fc3a0e (diff)
downloadgtk+-c28d6b84fa1690c8b36bdb7c3c7056a8a627ab19.tar.gz
Correct property types
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkentrybuffer.c33
1 files changed, 21 insertions, 12 deletions
diff --git a/gtk/gtkentrybuffer.c b/gtk/gtkentrybuffer.c
index c1423634db..57ce3b325a 100644
--- a/gtk/gtkentrybuffer.c
+++ b/gtk/gtkentrybuffer.c
@@ -347,10 +347,13 @@ gtk_entry_buffer_class_init (GtkEntryBufferClass *klass)
*
* Since: 2.18
*/
- g_object_class_install_property (gobject_class, PROP_TEXT,
- g_param_spec_string ("text", P_("Text"),
- P_("The contents of the buffer"),
- "", GTK_PARAM_READWRITE));
+ g_object_class_install_property (gobject_class,
+ PROP_TEXT,
+ g_param_spec_string ("text",
+ P_("Text"),
+ P_("The contents of the buffer"),
+ "",
+ GTK_PARAM_READWRITE));
/**
* GtkEntryBuffer:length:
@@ -359,10 +362,13 @@ gtk_entry_buffer_class_init (GtkEntryBufferClass *klass)
*
* Since: 2.18
*/
- g_object_class_install_property (gobject_class, PROP_LENGTH,
- g_param_spec_uint ("length", P_("Text length"),
- P_("Length of the text currently in the buffer"),
- 0, GTK_ENTRY_BUFFER_MAX_SIZE, 0, GTK_PARAM_READABLE));
+ g_object_class_install_property (gobject_class,
+ PROP_LENGTH,
+ g_param_spec_uint ("length",
+ P_("Text length"),
+ P_("Length of the text currently in the buffer"),
+ 0, GTK_ENTRY_BUFFER_MAX_SIZE, 0,
+ GTK_PARAM_READABLE));
/**
* GtkEntryBuffer:max-length:
@@ -371,10 +377,13 @@ gtk_entry_buffer_class_init (GtkEntryBufferClass *klass)
*
* Since: 2.18
*/
- g_object_class_install_property (gobject_class, PROP_MAX_LENGTH,
- g_param_spec_uint ("max-length", P_("Maximum length"),
- P_("Maximum number of characters for this entry. Zero if no maximum"),
- 0, GTK_ENTRY_BUFFER_MAX_SIZE, 0, GTK_PARAM_READWRITE));
+ g_object_class_install_property (gobject_class,
+ PROP_MAX_LENGTH,
+ g_param_spec_int ("max-length",
+ P_("Maximum length"),
+ P_("Maximum number of characters for this entry. Zero if no maximum"),
+ 0, GTK_ENTRY_BUFFER_MAX_SIZE, 0,
+ GTK_PARAM_READWRITE));
/**
* GtkEntry::inserted-text: