diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-07-24 06:02:38 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-07-24 06:02:38 +0000 |
| commit | 5be0a82a353b67160142134de1cc51fa31d72759 (patch) | |
| tree | 333f0e70a6cf4f2cb5252c2e16922a1b6408dc06 /plugins/placement | |
| parent | 230abdc5a0848cd05dc3a007826a2a6b8a73c0a5 (diff) | |
use ob_debug for any debug printing and only display the output when its a debug build or when --debug is passed to it
Diffstat (limited to 'plugins/placement')
| -rw-r--r-- | plugins/placement/history.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |
