summaryrefslogtreecommitdiff
path: root/gtk/gtkentrybuffer.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-07-15 16:12:09 -0400
committerMatthias Clasen <mclasen@redhat.com>2009-07-15 16:12:09 -0400
commitb5dab96b45e48756363e24baad955608f5a99102 (patch)
tree473f16eeb5ad6cb9397d9992bcbcd8d07f76f560 /gtk/gtkentrybuffer.h
parentb29fb1e609e88fed4f59c8ab2d35be22e1333a34 (diff)
downloadgtk+-b5dab96b45e48756363e24baad955608f5a99102.tar.gz
Make GtkEntryBuffer::max-length and int property
This avoid a behaviour change in a corner case and should not make any difference.
Diffstat (limited to 'gtk/gtkentrybuffer.h')
-rw-r--r--gtk/gtkentrybuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkentrybuffer.h b/gtk/gtkentrybuffer.h
index 275aaa1b3b..0cfc0eacd2 100644
--- a/gtk/gtkentrybuffer.h
+++ b/gtk/gtkentrybuffer.h
@@ -106,9 +106,9 @@ void gtk_entry_buffer_set_text (GtkEntryBuffe
gint n_chars);
void gtk_entry_buffer_set_max_length (GtkEntryBuffer *buffer,
- guint max_length);
+ gint max_length);
-guint gtk_entry_buffer_get_max_length (GtkEntryBuffer *buffer);
+gint gtk_entry_buffer_get_max_length (GtkEntryBuffer *buffer);
guint gtk_entry_buffer_insert_text (GtkEntryBuffer *buffer,
guint position,