diff options
author | Elliot Lee <sopwith@src.gnome.org> | 2000-07-24 16:19:00 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 2000-07-24 16:19:00 +0000 |
commit | 6d7a643f7cc4f0d022ede73c369fc5624cf98b6f (patch) | |
tree | fe564cab7b7b0216796f431407ffc9fba115c360 /modules | |
parent | 72aa0d6611ca379ce79c79adff6f50ad7be94031 (diff) | |
download | gtk+-6d7a643f7cc4f0d022ede73c369fc5624cf98b6f.tar.gz |
(Part 2) Remove gdk_*_lookup() defines, since they are defined by the
(Part 2)
* gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the
individual backends already.
* gdk/gdkregion-generic.h, gdk/gdktypes.h: Put gdkregionbox & gdksegment back together
again. Yes, there really is a good reason for this, if you are using the gdkregion
internals, and if you're not, why do you care?
* gdk/gdkwindow.c: Fix inverted condition
* gdk/linux-fb: Compiles (for me - it will not work elsewhere most likely).
* gtk/gtkcolorsel.c, gtk/gtkwindow.c: Add include for linux-fb
* gtk/gtkrange.c: Redraw trough when moving.
* gtk/gtktypeutils.c: Fix warning by adding const cast.
* modules/linux-fb/basic.c: Fix unknown glyph retrieval.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/linux-fb/basic.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/linux-fb/basic.c b/modules/linux-fb/basic.c index 880c4139eb..d03a139713 100644 --- a/modules/linux-fb/basic.c +++ b/modules/linux-fb/basic.c @@ -29,7 +29,7 @@ PangoGlyph pango_fb_get_unknown_glyph(PangoFont *font) { - return '*'; + return FT_Get_Char_Index(PANGO_FB_FONT(font)->ftf, '~'); } typedef struct _CharRange CharRange; @@ -220,7 +220,7 @@ conv_8bit (CharCache *cache, char *outptr = &outbuf; size_t outbytesleft = 1; - inbytesleft = g_utf8_next_char (input) - input; + inbytesleft = g_utf8_next_char(input) - input; cd = find_converter (cache, charset); @@ -242,7 +242,7 @@ conv_euc (CharCache *cache, char *outptr = outbuf; size_t outbytesleft = 2; - inbytesleft = g_utf8_next_char (input) - input; + inbytesleft = g_utf8_next_char(input) - input; cd = find_converter (cache, charset); @@ -330,7 +330,7 @@ basic_engine_shape (PangoFont *font, char buf[6]; const char *input; - wc = g_utf8_get_char (p); + wc = g_utf8_get_char(p); input = p; if (analysis->level % 2) @@ -377,7 +377,7 @@ basic_engine_shape (PangoFont *font, set_glyph (font, glyphs, i, p - text, pango_fb_get_unknown_glyph (font)); } - p = g_utf8_next_char (p); + p = g_utf8_next_char(p); } /* Simple bidi support... may have separate modules later */ |