diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-16 13:53:03 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-16 13:53:03 +0000 |
| commit | 3bc1f37469a4933966f049cc57093fb564b721a3 (patch) | |
| tree | 984c7ddec38e2e9e6c17fd10a947a40e6f0b3f8f | |
| parent | 34a9f87ed27b44d5f0337477605fc22306802eac (diff) | |
better msgs
| -rw-r--r-- | otk/application.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/otk/application.cc b/otk/application.cc index 29dc6bf4..2530fdd1 100644 --- a/otk/application.cc +++ b/otk/application.cc @@ -56,8 +56,9 @@ void OtkApplication::loadStyle(void) void OtkApplication::exec(void) { if (!_main_widget) { - std::cerr << "No main widget set. You must create a main OtkWidget for " << - "the OtkApplication before calling OtkApplication::exec().\n"; + std::cerr << "ERROR: No main widget set. You must create a main " << + "OtkWidget for the OtkApplication before calling " << + "OtkApplication::exec().\n"; ::exit(1); } while (1) { @@ -70,8 +71,8 @@ bool OtkApplication::setMainWidget(const OtkWidget *main_widget) { // ignore it if it has already been set if (_main_widget) { - std::cerr << "More than one main OtkWidget being created for the " << - "OtkApplication!\n"; + std::cerr << "WARNING: More than one main OtkWidget being created for " << + "the OtkApplication!\n"; return false; } |
