2012-11-15 [colin] 3.9.0cvs4
[claws.git] / src / gtk / combobox.h
index 3722c703ed01ab709302b7c8a42f92ca70736b86..0218eced760da1c8600fd30ec92dd03598da402e 100644 (file)
@@ -61,9 +61,17 @@ void combobox_select_by_text (GtkComboBox            *combobox,
 
 gint combobox_get_active_data  (GtkComboBox            *combobox);
 
+#if !GTK_CHECK_VERSION(2, 24, 0)
 void combobox_unset_popdown_strings(GtkComboBox                *combobox);
 void combobox_set_popdown_strings(GtkComboBox          *combobox,
                                 GList       *list);
+#else
+/* these two functions require a GtkComboBoxText, so let the compiler warn */
+void combobox_unset_popdown_strings(GtkComboBoxText    *combobox);
+void combobox_set_popdown_strings(GtkComboBoxText      *combobox,
+                                GList       *list);
+#endif
+
 gboolean combobox_set_value_from_arrow_key(GtkComboBox *combobox,
                                 guint keyval);
 void combobox_set_sensitive    (GtkComboBox *combobox,