2008-09-12 [colin] 3.5.0cvs103
[claws.git] / src / gtk / filesel.c
index 9ad0f48..ca69a59 100644 (file)
@@ -110,11 +110,19 @@ static GList *filesel_create(const gchar *title, const gchar *path,
                chooser = hildon_file_chooser_dialog_new (NULL, action);
        }
 #else
+#if !GTK_CHECK_VERSION(2,14,0)
        GtkWidget *chooser = gtk_file_chooser_dialog_new_with_backend
                                (title, NULL, action, "gtk+",
                                GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
                                action_btn, GTK_RESPONSE_ACCEPT, 
                                NULL);
+#else
+       GtkWidget *chooser = gtk_file_chooser_dialog_new
+                               (title, NULL, action, 
+                               GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+                               action_btn, GTK_RESPONSE_ACCEPT, 
+                               NULL);
+#endif
 #endif
        if (filter != NULL) {
                GtkFileFilter *file_filter = gtk_file_filter_new();