summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2000-12-08 15:00:07 +0000
committerAlexander Larsson <alexl@src.gnome.org>2000-12-08 15:00:07 +0000
commit3e3cc0224bf5fb10c625a43d9c9345fd557d4cf6 (patch)
tree915083a2b198574c8ba28e675c345c6fb7e0ba42 /gdk
parent6d0c6b792ea6dbc50adba158e99c53a88238f23c (diff)
downloadgtk+-3e3cc0224bf5fb10c625a43d9c9345fd557d4cf6.tar.gz
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.
Diffstat (limited to 'gdk')
-rw-r--r--gdk/linux-fb/Makefile.am1
-rw-r--r--gdk/linux-fb/gdkmain-fb.c4
-rw-r--r--gdk/linux-fb/gdkpango-fb.c1
3 files changed, 4 insertions, 2 deletions
diff --git a/gdk/linux-fb/Makefile.am b/gdk/linux-fb/Makefile.am
index 0f56977204..d7b87035c5 100644
--- a/gdk/linux-fb/Makefile.am
+++ b/gdk/linux-fb/Makefile.am
@@ -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 \
diff --git a/gdk/linux-fb/gdkmain-fb.c b/gdk/linux-fb/gdkmain-fb.c
index 97f9c836a8..ece027f9be 100644
--- a/gdk/linux-fb/gdkmain-fb.c
+++ b/gdk/linux-fb/gdkmain-fb.c
@@ -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);
}
diff --git a/gdk/linux-fb/gdkpango-fb.c b/gdk/linux-fb/gdkpango-fb.c
index 850d6608bb..c8d9af273e 100644
--- a/gdk/linux-fb/gdkpango-fb.c
+++ b/gdk/linux-fb/gdkpango-fb.c
@@ -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;