]> Dogcows Code - chaz/openbox/blobdiff - plugins/placement/history.c
use ob_debug for any debug printing and only display the output when its a debug...
[chaz/openbox] / plugins / placement / history.c
index 27efa677c526e84fea2613b8fc9d19d6d0684795..a7460b3d106c2fd60b805be8b513e48e10413b52 100644 (file)
@@ -1,3 +1,4 @@
+#include "kernel/debug.h"
 #include "kernel/openbox.h"
 #include "kernel/dispatch.h"
 #include "kernel/frame.h"
@@ -145,7 +146,7 @@ static void save_history()
 
     for (it = history_list; it; it = g_slist_next(it)) {
         struct HistoryItem *hi = it->data;
-        g_message("adding %s", hi->name);
+        ob_debug("adding %s\n", hi->name);
         node = xmlNewChild(root, NULL, (const xmlChar*) "entry", NULL);
         xmlNewProp(node, (const xmlChar*) "name", (const xmlChar*) hi->name);
         xmlNewProp(node, (const xmlChar*) "class", (const xmlChar*) hi->class);
This page took 0.020637 seconds and 4 git commands to generate.