From 5be0a82a353b67160142134de1cc51fa31d72759 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 24 Jul 2003 06:02:38 +0000 Subject: use ob_debug for any debug printing and only display the output when its a debug build or when --debug is passed to it --- plugins/placement/history.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/placement') diff --git a/plugins/placement/history.c b/plugins/placement/history.c index 27efa677..a7460b3d 100644 --- a/plugins/placement/history.c +++ b/plugins/placement/history.c @@ -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); -- cgit v1.2.3