summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-07-24 06:02:38 +0000
committerDana Jansens <danakj@orodu.net>2003-07-24 06:02:38 +0000
commit5be0a82a353b67160142134de1cc51fa31d72759 (patch)
tree333f0e70a6cf4f2cb5252c2e16922a1b6408dc06 /tools
parent230abdc5a0848cd05dc3a007826a2a6b8a73c0a5 (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 'tools')
-rw-r--r--tools/obconf/main.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/obconf/main.c b/tools/obconf/main.c
index f0eb7306..645556c6 100644
--- a/tools/obconf/main.c
+++ b/tools/obconf/main.c
@@ -1,3 +1,4 @@
+#include "kernel/debug.h"
#include "obconf.h"
#include "plugins.h"
#include "parser/parse.h"
@@ -71,21 +72,21 @@ void on_quit_activate(GtkMenuItem *item, gpointer d)
void on_applybutton_clicked(GtkButton *but, gpointer d)
{
- g_message("apply");
+ ob_debug("apply\n");
}
void on_revertbutton_clicked(GtkButton *but, gpointer d)
{
- g_message("revert");
+ ob_debug("revert\n");
}
void on_helpbutton_clicked(GtkButton *but, gpointer d)
{
- g_message("help");
+ ob_debug("help\n");
}
void on_sectiontree_row_activated(GtkTreeView *tree, GtkTreePath *path,
GtkTreeViewColumn *col, gpointer p)
{
- g_message("activated");
+ ob_debug("activated\n");
}