diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-10-03 21:17:07 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-10-03 21:17:07 +0000 |
commit | 272900364501ea849bec0f30a871a72bbdb81632 (patch) | |
tree | ae3f64f4307b9ec5069dd15b276ae5490127c581 /gdk/x11/gdkdrawable-x11.h | |
parent | ef33adff83617e2c937052316b9fb925d4972252 (diff) | |
download | gtk+-272900364501ea849bec0f30a871a72bbdb81632.tar.gz |
Restore the pre-Xft2 code to render text directly via RENDER,
Thu Oct 3 17:09:23 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/{gdkdrawable-x11.[ch],gdkpixmap-x11.c,
gdkwindow-x11.c}: Restore the pre-Xft2 code to
render text directly via RENDER, conditionalized
with !HAVE_XFT2 so that we'll build again on Xft1
systems. (#90181)
Diffstat (limited to 'gdk/x11/gdkdrawable-x11.h')
-rw-r--r-- | gdk/x11/gdkdrawable-x11.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdk/x11/gdkdrawable-x11.h b/gdk/x11/gdkdrawable-x11.h index f2a15f4613..0d4185b6f1 100644 --- a/gdk/x11/gdkdrawable-x11.h +++ b/gdk/x11/gdkdrawable-x11.h @@ -65,8 +65,10 @@ struct _GdkDrawableImplX11 Window xid; GdkScreen *screen; -#ifdef HAVE_XFT +#ifdef HAVE_XFT2 XftDraw *xft_draw; +#elif defined (HAVE_XFT) + Picture picture; #endif }; |