diff options
author | infirit <[email protected]> | 2014-07-01 14:30:19 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-07-01 15:15:29 +0200 |
commit | 73723f5bf6de8ba82f86214170951108fa7b6dc7 (patch) | |
tree | 8c8a3220a0c5c1776105c782e674ec5497432d69 /gsearchtool/gsearchtool-callbacks.c | |
parent | 647d0a6f2bf243c61f2b04f1e4bd93260b8d5cca (diff) | |
download | mate-utils-73723f5bf6de8ba82f86214170951108fa7b6dc7.tar.bz2 mate-utils-73723f5bf6de8ba82f86214170951108fa7b6dc7.tar.xz |
Drop support for Gtk+ < 2.24
Diffstat (limited to 'gsearchtool/gsearchtool-callbacks.c')
-rw-r--r-- | gsearchtool/gsearchtool-callbacks.c | 6 |
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) { |