diff options
Diffstat (limited to 'ui/gtk/capture_file_dlg.c')
-rw-r--r-- | ui/gtk/capture_file_dlg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/capture_file_dlg.c b/ui/gtk/capture_file_dlg.c index 2b460159c5..f67c4a178e 100644 --- a/ui/gtk/capture_file_dlg.c +++ b/ui/gtk/capture_file_dlg.c @@ -1027,7 +1027,7 @@ file_merge_cmd_cb(GtkWidget *widget, gpointer data _U_) { gint response; if (prefs.gui_ask_unsaved) { - if (cf_not_saved(&cfile)) { + if (cf_has_unsaved_data(&cfile)) { /* This file has unsaved data; ask the user whether to save the capture. */ if (cfile.is_tempfile) { @@ -1135,7 +1135,7 @@ test_file_close(capture_file *cf, gboolean from_quit, const char *before_what) capture_in_progress = FALSE; if (prefs.gui_ask_unsaved) { - if (cf_not_saved(cf) || capture_in_progress) { + if (cf_has_unsaved_data(cf) || capture_in_progress) { /* This file has unsaved data or there's a capture in progress; ask the user whether to save the data. */ if (cf->is_tempfile) { |