summaryrefslogtreecommitdiff
path: root/gsearchtool/gsearchtool-callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gsearchtool/gsearchtool-callbacks.c')
-rw-r--r--gsearchtool/gsearchtool-callbacks.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gsearchtool/gsearchtool-callbacks.c b/gsearchtool/gsearchtool-callbacks.c
index 6699a3b6..a14c4896 100644
--- a/gsearchtool/gsearchtool-callbacks.c
+++ b/gsearchtool/gsearchtool-callbacks.c
@@ -1620,9 +1620,7 @@ show_file_selector_cb (GtkAction * action,
GTK_STOCK_SAVE, GTK_RESPONSE_OK,
NULL);
-#if GTK_CHECK_VERSION(2,7,3)
gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (file_chooser), TRUE);
-#endif
if (gsearch->save_results_as_default_filename != NULL) {
gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (file_chooser),
gsearch->save_results_as_default_filename);
@@ -1698,7 +1696,6 @@ display_dialog_could_not_save_to (GtkWidget * window,
g_free (primary);
}
-#if !GTK_CHECK_VERSION(2,7,3)
static gint
display_dialog_could_not_save_exists (GtkWidget * window,
const gchar * file)
@@ -1743,7 +1740,6 @@ display_dialog_could_not_save_exists (GtkWidget * window,
return response;
}
-#endif
void
save_results_cb (GtkWidget * chooser,
@@ -1783,7 +1779,6 @@ save_results_cb (GtkWidget * chooser,
return;
}
-#if !GTK_CHECK_VERSION(2,7,3)
if (g_file_test (gsearch->save_results_as_default_filename, G_FILE_TEST_EXISTS)) {
gint response;
@@ -1795,7 +1790,6 @@ save_results_cb (GtkWidget * chooser,
return;
}
}
-#endif
if ((fp = fopen (gsearch->save_results_as_default_filename, "w")) != NULL) {