]> Dogcows Code - chaz/openbox/commitdiff
No \n on ob_debug in this branch.
authorMikael Magnusson <mikachu@gmail.com>
Tue, 10 Jun 2008 15:55:03 +0000 (17:55 +0200)
committerMikael Magnusson <mikachu@gmail.com>
Sun, 26 Oct 2008 23:55:42 +0000 (00:55 +0100)
openbox/openbox.c
openbox/session.c
openbox/window.c

index d6e87d94802ad750ef67cd4bd37fb7be6649c97e..5be4e785e5e32a2e00693c7749f684e40d8d1969 100644 (file)
@@ -605,7 +605,7 @@ static void parse_args(gint *argc, gchar **argv)
                    what we want */
                 config_file = argv[i+1];
                 ++i; /* skip the argument */
-                ob_debug("--config-file %s\n", config_file);
+                ob_debug("--config-file %s", config_file);
             }
         }
         else if (!strcmp(argv[i], "--sm-save-file")) {
index e4ecb6c7615c0c9057422c0bd8bb74fb1d1b2cdd..db62589ad9dfa7beabab7e6abd1ffa069d7972ca 100644 (file)
@@ -413,7 +413,7 @@ static void sm_save_yourself(SmcConn conn, SmPointer data, gint save_type,
             (save_type == SmSaveLocal ? "SmSaveLocal" :
              (save_type == SmSaveGlobal ? "SmSaveGlobal" :
               (save_type == SmSaveBoth ? "SmSaveBoth" : "INVALID!!")));
-        ob_debug_type(OB_DEBUG_SM, "Session save requested, type %s\n", sname);
+        ob_debug_type(OB_DEBUG_SM, "Session save requested, type %s", sname);
     }
 #endif
 
index b90dc5093836c68db66136ad10e46be2c7da176d..19b362edd14e26fda80d5a1ee6fc5c2d1e680e65 100644 (file)
@@ -162,7 +162,7 @@ void window_manage(Window win)
         XCheckTypedWindowEvent(obt_display, win, UnmapNotify, &e))
     {
         XPutBackEvent(obt_display, &e);
-        ob_debug("Trying to manage unmapped window. Aborting that.\n");
+        ob_debug("Trying to manage unmapped window. Aborting that.");
         no_manage = TRUE;
     }
 
@@ -187,7 +187,7 @@ void window_manage(Window win)
 
     if (!no_manage) {
         if (attrib.override_redirect) {
-            ob_debug("not managing override redirect window 0x%x\n", win);
+            ob_debug("not managing override redirect window 0x%x", win);
             grab_server(FALSE);
         }
         else if (is_dockapp) {
@@ -200,7 +200,7 @@ void window_manage(Window win)
     }
     else {
         grab_server(FALSE);
-        ob_debug("FAILED to manage window 0x%x\n", win);
+        ob_debug("FAILED to manage window 0x%x", win);
     }
 }
 
This page took 0.028647 seconds and 4 git commands to generate.