diff console/libgnt/gntcheckbox.c @ 14432:3ac156db9cb6

[gaim-migrate @ 17146] This will get rid of the compile warnings about redefining DEBUG. I thought about #undef-ing it first. But rekkanoryo suggested renaming to GNTDEBUG, which makes a lot more sense. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 03 Sep 2006 21:42:52 +0000
parents 0387a167f342
children ae0136b0a3ae
line wrap: on
line diff
--- a/console/libgnt/gntcheckbox.c	Sun Sep 03 21:22:14 2006 +0000
+++ b/console/libgnt/gntcheckbox.c	Sun Sep 03 21:42:52 2006 +0000
@@ -30,7 +30,7 @@
 	wbkgdset(widget->window, '\0' | COLOR_PAIR(GNT_COLOR_NORMAL));
 	mvwprintw(widget->window, 0, 4, GNT_BUTTON(cb)->priv->text);
 	
-	DEBUG;
+	GNTDEBUG;
 }
 
 static void
@@ -43,7 +43,7 @@
 {
 	if (widget->priv.width == 0 || widget->priv.height == 0)
 		gnt_widget_size_request(widget);
-	DEBUG;
+	GNTDEBUG;
 }
 
 static void
@@ -102,14 +102,14 @@
 					 NULL, NULL,
 					 g_cclosure_marshal_VOID__VOID,
 					 G_TYPE_NONE, 0);
-	DEBUG;
+	GNTDEBUG;
 }
 
 static void
 gnt_check_box_init(GTypeInstance *instance, gpointer class)
 {
 	GNT_WIDGET_SET_FLAGS(GNT_WIDGET(instance), GNT_WIDGET_NO_BORDER | GNT_WIDGET_NO_SHADOW);
-	DEBUG;
+	GNTDEBUG;
 }
 
 /******************************************************************************