From: Axel S. <as...@us...> - 2005-04-08 09:20:41
|
Update of /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Buttons In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5617/gtk/Graphics/UI/Gtk/Buttons Modified Files: Button.chs.pp Log Message: Corrected some #ifdef to make it compile with Gtk 2.4 Index: Button.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/Graphics/UI/Gtk/Buttons/Button.chs.pp,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- Button.chs.pp 7 Apr 2005 00:14:00 -0000 1.7 +++ Button.chs.pp 8 Apr 2005 09:20:26 -0000 1.8 @@ -383,6 +383,7 @@ return (realToFrac xalign, realToFrac yalign) #endif +#if GTK_CHECK_VERSION(2,6,0) -- | Gets the widget that is currenty set as the image of the button. This may -- have been explicitly set by 'buttonSetImage' or constructed by -- 'buttonNewFromStock'. @@ -406,6 +407,7 @@ {# call gtk_button_set_image #} (toButton self) (toWidget image) +#endif -------------------- -- Properties |