Docs, docs, anyone want docs!
2000-12-06 Alexander Larsson <alexl@redhat.com> * docs/README.linux-fb: * docs/Makefile.am: Initial GtkFB docs. * gdk/linux-fb/Makefile.am: Define GDK_DATA_PREFIX. * gdk/linux-fb/gdkmain-fb.c: Fix typo. Change default display to /dev/fb0. * gdk/linux-fb/gdkpango-fb.c: Add $(prefix)/share/fonts/ to font path.
This commit is contained in:
committed by
Alexander Larsson
parent
6d0c6b792e
commit
3e3cc0224b
@ -5,6 +5,7 @@ libgdkfbincludedir = $(includedir)/gtk-2.0/gdk/linux-fb
|
||||
|
||||
INCLUDES = @STRIP_BEGIN@ \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DGDK_DATA_PREFIX=\"$(prefix)\" \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
|
||||
@ -521,7 +521,7 @@ gdk_fb_display_new ()
|
||||
vt = strtol (s, &send, 10);
|
||||
if (s==send)
|
||||
{
|
||||
g_warning ("Cannot parse GDK_TTY");
|
||||
g_warning ("Cannot parse GDK_VT");
|
||||
vt = display->start_vt;
|
||||
}
|
||||
}
|
||||
@ -1035,7 +1035,7 @@ gdk_get_display(void)
|
||||
|
||||
s = getenv ("GDK_DISPLAY");
|
||||
if (s==0)
|
||||
s = "/dev/fb";
|
||||
s = "/dev/fb0";
|
||||
|
||||
return g_strdup (s);
|
||||
}
|
||||
|
||||
@ -408,6 +408,7 @@ pango_fb_font_map_init (PangoFBFontMap *fontmap)
|
||||
"/usr/share/fonts/default/Type1",
|
||||
"/usr/lib/X11/fonts/TrueType",
|
||||
"/usr/lib/X11/fonts/Type1",
|
||||
GDK_DATA_PREFIX "/share/fonts",
|
||||
NULL
|
||||
};
|
||||
int i;
|
||||
|
||||
Reference in New Issue
Block a user