From: Duncan C. <dun...@us...> - 2005-05-16 23:08:52
|
Update of /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Buttons In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18678/gtk/Graphics/UI/Gtk/Buttons Modified Files: Button.chs.pp Log Message: Conditional compilation fixes for Gtk+ versions before 2.4. Index: Button.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Buttons/Button.chs.pp,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- Button.chs.pp 9 May 2005 23:07:46 -0000 1.10 +++ Button.chs.pp 16 May 2005 15:29:54 -0000 1.11 @@ -93,7 +93,9 @@ buttonLabel, buttonUseUnderline, buttonUseStock, +#if GTK_CHECK_VERSION(2,4,0) buttonFocusOnClick, +#endif buttonRelief, #if GTK_CHECK_VERSION(2,4,0) buttonXalign, @@ -453,6 +455,7 @@ buttonGetUseStock buttonSetUseStock +#if GTK_CHECK_VERSION(2,4,0) -- | Whether the button grabs focus when it is clicked with the mouse. -- -- Default value: @True@ @@ -461,6 +464,7 @@ buttonFocusOnClick = newAttr buttonGetFocusOnClick buttonSetFocusOnClick +#endif -- | The border relief style. -- |