diff console/libgnt/gntentry.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 1bd09d355f9e
children ca36763497d9
line wrap: on
line diff
--- a/console/libgnt/gntentry.c	Sun Sep 03 21:22:14 2006 +0000
+++ b/console/libgnt/gntentry.c	Sun Sep 03 21:42:52 2006 +0000
@@ -129,7 +129,7 @@
 		mvwchgat(widget->window, 0, gnt_util_onscreen_width(entry->scroll, entry->cursor),
 				1, A_REVERSE, COLOR_PAIR(GNT_COLOR_TEXT_NORMAL), NULL);
 
-	DEBUG;
+	GNTDEBUG;
 }
 
 static void
@@ -147,7 +147,7 @@
 {
 	if (widget->priv.width == 0 || widget->priv.height == 0)
 		gnt_widget_size_request(widget);
-	DEBUG;
+	GNTDEBUG;
 }
 
 static void
@@ -502,7 +502,7 @@
 	parent_class->key_pressed = gnt_entry_key_pressed;
 	parent_class->lost_focus = gnt_entry_lost_focus;
 
-	DEBUG;
+	GNTDEBUG;
 }
 
 static void
@@ -528,7 +528,7 @@
 	widget->priv.minw = 3;
 	widget->priv.minh = 1;
 	
-	DEBUG;
+	GNTDEBUG;
 }
 
 /******************************************************************************