diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-04-02 20:35:46 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-04-02 20:35:46 +0000 |
commit | 432e914dbd43c3ee354aa1eeff8f2dc750913f0e (patch) | |
tree | 80578ae6f2e2f3f347a4022b4d5503852e075d56 /ui/gtk/capture_file_dlg.c | |
parent | f32a839bb0514461072096dadad0e0d888fc3869 (diff) |
Rename cf_not_saved() to cf_has_unsaved_data() to clarify what it
indicates. (Note: "unsaved data" is more than just "unsaved changes";
it could also mean "temporary file that hasn't been saved anywhere".)
svn path=/trunk/; revision=48709
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) { |