зеркало из https://github.com/mozilla/gecko-dev.git
This should fix the build bustage on ports, by using a gtk version test to decide what type to pass to gdk_gc_set_dashes. r=dbaron, sr=shaver.
This commit is contained in:
Родитель
13079cad97
Коммит
7cacc9cd31
|
@ -242,7 +242,12 @@ private:
|
|||
GdkGC *mGC;
|
||||
GdkFunction mFunction;
|
||||
GdkLineStyle mLineStyle;
|
||||
// gtk+ 1.2.7 introduces an incompatible API change
|
||||
#if GTK_CHECK_VERSION(1,2,7)
|
||||
gint8 mDashList[2];
|
||||
#else
|
||||
gchar mDashList[2];
|
||||
#endif
|
||||
gint mDashes;
|
||||
nscolor mCurrentColor;
|
||||
nsFontGTK *mCurrentFont;
|
||||
|
|
Загрузка…
Ссылка в новой задаче