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:
bryner%uiuc.edu 2001-03-07 03:35:10 +00:00
Родитель 13079cad97
Коммит 7cacc9cd31
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -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;