Trying again to fix speedracer bustage. r=dbaron.
This commit is contained in:
Родитель
b800efd29e
Коммит
ddb7ce46f8
|
@ -44,6 +44,14 @@
|
|||
|
||||
#define USE_NATIVE_TILING 1
|
||||
|
||||
#ifndef GTK_CHECK_VERSION
|
||||
#define GTK_CHECK_VERSION(major,minor,micro) \
|
||||
(GTK_MAJOR_VERSION > (major) || \
|
||||
(GTK_MAJOR_VERSION == (major) && GTK_MINOR_VERSION > (minor)) || \
|
||||
(GTK_MAJOR_VERSION == (major) && GTK_MINOR_VERSION == (minor) && \
|
||||
GTK_MICRO_VERSION >= (micro)))
|
||||
#endif
|
||||
|
||||
class nsFontGTK;
|
||||
|
||||
class nsRenderingContextGTK : public nsRenderingContextImpl
|
||||
|
@ -243,7 +251,7 @@ private:
|
|||
GdkFunction mFunction;
|
||||
GdkLineStyle mLineStyle;
|
||||
// gtk+ 1.2.7 introduces an incompatible API change
|
||||
#if defined(GTK_CHECK_VERSION) && GTK_CHECK_VERSION(1,2,7)
|
||||
#if GTK_CHECK_VERSION(1,2,7)
|
||||
gint8 mDashList[2];
|
||||
#else
|
||||
gchar mDashList[2];
|
||||
|
|
Загрузка…
Ссылка в новой задаче