summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Alexey Smirnov <alexey.smirnov@gmx.com>2012-03-09 11:55:46 +0600
committerGravatar waker <wakeroid@gmail.com>2012-03-10 19:25:10 +0100
commit60edfe187da7d6b1caa9fd43f6ba6329143a1961 (patch)
tree90ea4d760038f27fc093cf0c6fc2481095d084dc /plugins
parent5b0dc7165d066c1165a3499a8f60cbf2845c8785 (diff)
few fixes for gtk<2.24 compatibility in converter plugin
Diffstat (limited to 'plugins')
-rw-r--r--plugins/converter/support.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/converter/support.c b/plugins/converter/support.c
index ae0b71d5..1e6087da 100644
--- a/plugins/converter/support.c
+++ b/plugins/converter/support.c
@@ -151,3 +151,11 @@ void
gtk_dialog_set_has_separator (GtkDialog *dlg, gboolean has) {
}
#endif
+
+#if !GTK_CHECK_VERSION(2,24,0)
+#define GTK_COMBO_BOX_TEXT GTK_COMBO_BOX
+GtkWidget *
+gtk_combo_box_text_new () {
+ return gtk_combo_box_new_text ();
+}
+#endif