# HG changeset patch # User Mark Doliner # Date 1131978526 0 # Node ID 08be85ee79c08b35c20c9cdefc4aec06efbd1a59 # Parent 9b886b6e3002ff71cc7bf1f4f3460fb4d10c4e20 [gaim-migrate @ 14383] Fix compilation for older version of gtk committer: Tailor Script diff -r 9b886b6e3002 -r 08be85ee79c0 src/gtkgaim.h --- a/src/gtkgaim.h Mon Nov 14 09:37:00 2005 +0000 +++ b/src/gtkgaim.h Mon Nov 14 14:28:46 2005 +0000 @@ -56,6 +56,20 @@ /** @endcond */ /* + * We include the sources for GtkComboBox and GtkCellView because + * they don't exist in older version of Gtk+, and we use them + * in a few places. + */ +#if !GTK_CHECK_VERSION(2,6,0) +# include "gtkcellview.h" +# include "gtkcellviewmenuitem.h" +# if !GTK_CHECK_VERSION(2,4,0) +# include "gtkcelllayout.h" +# include "gtkcombobox.h" +# endif /* Gtk 2.4 */ +#endif /* Gtk 2.6 */ + +/* * Spacings between components, as defined by the * Gnome Human Interface Guidelines. */