(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.
This commit is contained in:
Elliot Lee
2000-07-24 16:19:00 +00:00
parent 72aa0d6611
commit 6d7a643f7c
35 changed files with 2340 additions and 2174 deletions

View File

@ -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 */