diff console/libgnt/gntbutton.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 c374f45f4c94
children bfcdd361357e
line wrap: on
line diff
--- a/console/libgnt/gntbutton.c	Sun Sep 03 21:22:14 2006 +0000
+++ b/console/libgnt/gntbutton.c	Sun Sep 03 21:42:52 2006 +0000
@@ -25,7 +25,7 @@
 	wbkgdset(widget->window, '\0' | COLOR_PAIR(type));
 	mvwprintw(widget->window, 1, 2, button->priv->text);
 
-	DEBUG;
+	GNTDEBUG;
 }
 
 static void
@@ -44,7 +44,7 @@
 {
 	if (widget->priv.width == 0 || widget->priv.height == 0)
 		gnt_widget_size_request(widget);
-	DEBUG;
+	GNTDEBUG;
 }
 
 static gboolean
@@ -78,7 +78,7 @@
 	parent_class->key_pressed = gnt_button_key_pressed;
 	parent_class->clicked = gnt_button_clicked;
 
-	DEBUG;
+	GNTDEBUG;
 }
 
 static void
@@ -92,7 +92,7 @@
 
 	widget->priv.minw = 4;
 	widget->priv.minh = 3;
-	DEBUG;
+	GNTDEBUG;
 }
 
 /******************************************************************************