From c80cb47e5cf49c7aa0b162fc509ab08fd1b17e8a Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sat, 14 Jul 2012 20:46:42 +0200 Subject: Update XChat to r1516 --- src/fe-gtk/gtkutil.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/fe-gtk/gtkutil.c') diff --git a/src/fe-gtk/gtkutil.c b/src/fe-gtk/gtkutil.c index fe4e1737..7b4f8b06 100644 --- a/src/fe-gtk/gtkutil.c +++ b/src/fe-gtk/gtkutil.c @@ -436,10 +436,9 @@ gtkutil_file_req (const char *title, void *callback, void *userdata, char *filte gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dialog), temp); gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (dialog), file_part (filter)); } -#if GTK_CHECK_VERSION(2,8,0) + if (!(flags & FRF_NOASKOVERWRITE)) gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (dialog), TRUE); -#endif } else dialog = gtk_file_chooser_dialog_new (title, NULL, -- cgit 1.4.1