summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-07-04 22:21:35 +0200
committerRobin Gareus <robin@gareus.org>2019-07-04 22:21:35 +0200
commite76e18af961273cd7a275d5f17e2eeb836631010 (patch)
treee97a5fa28c7965af28238d1718ca1afb8ff8698b /libs/gtkmm2ext
parentdbc0c54ced49c24fbfbb88b0ccf02f8bc0cc78e1 (diff)
Use exit-status macros for compatibility 2/3
Diffstat (limited to 'libs/gtkmm2ext')
-rw-r--r--libs/gtkmm2ext/gtk_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gtkmm2ext/gtk_ui.cc b/libs/gtkmm2ext/gtk_ui.cc
index 444e7471e9..2f5d0ac6b4 100644
--- a/libs/gtkmm2ext/gtk_ui.cc
+++ b/libs/gtkmm2ext/gtk_ui.cc
@@ -594,7 +594,7 @@ UI::process_error_message (Transmitter::Channel chn, const char *str)
default:
/* no choice but to use text/console output here */
cerr << "programmer error in UI::check_error_messages (channel = " << chn << ")\n";
- ::exit (1);
+ ::exit (EXIT_FAILURE);
}
errors->text().get_buffer()->begin_user_action();