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 /gtk/gtktextchild.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 'gtk/gtktextchild.c')
-rw-r--r-- | gtk/gtktextchild.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtktextchild.c b/gtk/gtktextchild.c index 88c81267e8..3b1dabfaa8 100644 --- a/gtk/gtktextchild.c +++ b/gtk/gtktextchild.c @@ -112,8 +112,9 @@ _gtk_pixbuf_segment_new (GdkPixbuf *pixbuf) seg->next = NULL; - seg->byte_count = 3; /* We convert to the 0xFFFD "unknown character", - a 3-byte sequence in UTF-8 */ + seg->byte_count = 3; /* We convert to the 0xFFFC "unknown character", + * a 3-byte sequence in UTF-8 + */ seg->char_count = 1; seg->body.pixbuf.pixbuf = pixbuf; @@ -208,7 +209,7 @@ _gtk_widget_segment_new (void) seg->next = NULL; - seg->byte_count = 3; /* We convert to the 0xFFFD "unknown character", + seg->byte_count = 3; /* We convert to the 0xFFFC "unknown character", * a 3-byte sequence in UTF-8 */ seg->char_count = 1; |