]> Dogcows Code - chaz/openbox/commitdiff
better msgs
authorDana Jansens <danakj@orodu.net>
Sat, 16 Nov 2002 13:53:03 +0000 (13:53 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 16 Nov 2002 13:53:03 +0000 (13:53 +0000)
otk/application.cc

index 29dc6bf4b4be70491c97b4028a2799ad9f145a2a..2530fdd112c20cee6494f7280f76f4caa8b8157d 100644 (file)
@@ -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;
   }
 
This page took 0.024122 seconds and 4 git commands to generate.