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 --- tools/obconf/main.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tools') 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"); } -- cgit v1.2.3