summaryrefslogtreecommitdiff
path: root/gtk/gtkentry.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-02-21 20:22:25 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-02-21 20:22:25 +0000
commit0ebf76901cada6b4bcd4eef5a416da1f6a8482b5 (patch)
treeb175484ade3efff4f4673e64ef73ce3b5a9b422e /gtk/gtkentry.h
parent334a40e8939c84d9f164677524e3b265fc801eda (diff)
downloadgtk+-0ebf76901cada6b4bcd4eef5a416da1f6a8482b5.tar.gz
unbreak this function
2001-02-21 Havoc Pennington <hp@redhat.com> * gtk/gtktextbuffer.c (gtk_text_buffer_insert_child_anchor): unbreak this function * gtk/gtkentry.c: apply patch from Lee Mallabone to add object properties * gtk/gtkcurve.c: apply patch from Lee Mallabone to add object properties * gtk/gtkcombo.c: apply patch from Lee Mallabone to add object properties * gtk/gtkentry.c (gtk_entry_set_max_length): have this take -1 to mean unset the max length
Diffstat (limited to 'gtk/gtkentry.h')
-rw-r--r--gtk/gtkentry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h
index f9352ce805..eeb6c2bf30 100644
--- a/gtk/gtkentry.h
+++ b/gtk/gtkentry.h
@@ -145,7 +145,7 @@ void gtk_entry_set_has_frame (GtkEntry *entry,
gboolean gtk_entry_get_has_frame (GtkEntry *entry);
/* text is truncated if needed */
void gtk_entry_set_max_length (GtkEntry *entry,
- guint16 max);
+ gint max);
/* Somewhat more convenient than the GtkEditable generic functions
*/
@@ -156,7 +156,7 @@ G_CONST_RETURN gchar* gtk_entry_get_text (GtkEntry *entry);
/* Deprecated compatibility functions
*/
-GtkWidget* gtk_entry_new_with_max_length (guint16 max);
+GtkWidget* gtk_entry_new_with_max_length (gint max);
void gtk_entry_append_text (GtkEntry *entry,
const gchar *text);
void gtk_entry_prepend_text (GtkEntry *entry,