diff options
author | Havoc Pennington <hp@redhat.com> | 2000-06-21 18:51:36 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2000-06-21 18:51:36 +0000 |
commit | ee0895169d57f2d67f7d1b85f941a6fa31b439f0 (patch) | |
tree | ba18a8c1dadf39c999e4d8fd7367eaa9117222eb /gtk/gtktextiter.h | |
parent | 39440b43cd618dffea5d25d63ac2f05a433e293e (diff) | |
download | gtk+-ee0895169d57f2d67f7d1b85f941a6fa31b439f0.tar.gz |
Use gunichar instead of gint when appropriate in the interfaces
2000-06-21 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.h: Use gunichar instead of gint when appropriate
in the interfaces
* gtk/gtktexttypes.c: Remove UTF functions, use glib
stuff instead when possible.
* gtk/gtktexttypes.h: Delete some unused constants
* gtktextbtree.c, gtktextiter.c, gtktextsegment.c, gtktextview.c,
testtextbuffer.c: use glib instead of custom unicode routines
Diffstat (limited to 'gtk/gtktextiter.h')
-rw-r--r-- | gtk/gtktextiter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktextiter.h b/gtk/gtktextiter.h index 579fe859bc..1b93220263 100644 --- a/gtk/gtktextiter.h +++ b/gtk/gtktextiter.h @@ -54,7 +54,7 @@ gint gtk_text_iter_get_line_byte (const GtkTextIter *iter); /* * "Dereference" operators */ -gint gtk_text_iter_get_char (const GtkTextIter *iter); +gunichar gtk_text_iter_get_char (const GtkTextIter *iter); /* includes the 0xFFFD char for pixmaps/widgets, so char offsets into the returned string map properly into buffer char offsets */ @@ -144,7 +144,7 @@ gboolean gtk_text_iter_forward_find_tag_toggle (GtkTextIter *iter, gboolean gtk_text_iter_backward_find_tag_toggle (GtkTextIter *iter, GtkTextTag *tag); -typedef gboolean (* GtkTextViewCharPredicate) (guint16 ch, gpointer user_data); +typedef gboolean (* GtkTextViewCharPredicate) (gunichar ch, gpointer user_data); gboolean gtk_text_iter_forward_find_char (GtkTextIter *iter, GtkTextViewCharPredicate pred, |