diff options
author | Havoc Pennington <hp@pobox.com> | 2000-11-15 03:41:45 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2000-11-15 03:41:45 +0000 |
commit | c72cec38f1c74bf75dfc2d41e8f37b4673d40d27 (patch) | |
tree | 0ffc5c10b3882f96607c1dbdff1e93b475636bb0 /tests/testtextbuffer.c | |
parent | 98e453dc0457c00220a82468c1a140bb68bb455d (diff) | |
download | gtk+-c72cec38f1c74bf75dfc2d41e8f37b4673d40d27.tar.gz |
change "offset" to "rise"
2000-11-14 Havoc Pennington <hp@pobox.com>
* gtk/testtextbuffer.c (fill_buffer): change "offset" to "rise"
* gtk/gtktexttypes.h (GTK_TEXT_UNKNOWN_CHAR): Add macro for
unknown char, no real reason we were using a variable.
Remove gtk_text_unknown_char variable. Fix all the text widget
files accordingly.
* gtk/gtktexttypes.c: Change "unknown character" to 0xFFFC,
since the Unicode spec seems to prefer that character for our
purposes.
Diffstat (limited to 'tests/testtextbuffer.c')
-rw-r--r-- | tests/testtextbuffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testtextbuffer.c b/tests/testtextbuffer.c index 18df1a2f1b..e2b3072578 100644 --- a/tests/testtextbuffer.c +++ b/tests/testtextbuffer.c @@ -22,7 +22,7 @@ main (int argc, char** argv) /* Check UTF8 unknown char thing */ g_assert (g_utf8_strlen (gtk_text_unknown_char_utf8, 3) == 1); ch = g_utf8_get_char (gtk_text_unknown_char_utf8); - g_assert (ch == gtk_text_unknown_char); + g_assert (ch == GTK_TEXT_UNKNOWN_CHAR); /* First, we turn on btree debugging. */ gtk_debug_flags |= GTK_DEBUG_TEXT; @@ -603,7 +603,7 @@ fill_buffer (GtkTextBuffer *buffer) color.blue = color.green = 0; color.red = 0xffff; gtk_object_set (GTK_OBJECT (tag), - "offset", -4, + "rise", -4, "foreground_gdk", &color, NULL); |