finch/libgnt/gntmenu.c

branch
next.minor
changeset 21240
b78eaddaae02
parent 20824
369df93709c0
child 21246
1e4738b18075
--- a/finch/libgnt/gntmenu.c	Tue Oct 16 04:14:54 2007 +0000
+++ b/finch/libgnt/gntmenu.c	Tue Oct 16 09:51:12 2007 +0000
@@ -56,12 +56,12 @@
 	int i;
 
 	if (menu->type == GNT_MENU_TOPLEVEL) {
-		wbkgdset(widget->window, '\0' | COLOR_PAIR(GNT_COLOR_HIGHLIGHT));
+		wbkgdset(widget->window, '\0' | gnt_color_pair(GNT_COLOR_HIGHLIGHT));
 		werase(widget->window);
 
 		for (i = 0, iter = menu->list; iter; iter = iter->next, i++) {
 			GntMenuItem *item = GNT_MENU_ITEM(iter->data);
-			type = ' ' | COLOR_PAIR(GNT_COLOR_HIGHLIGHT);
+			type = ' ' | gnt_color_pair(GNT_COLOR_HIGHLIGHT);
 			if (i == menu->selected)
 				type |= A_REVERSE;
 			item->priv.x = getcurx(widget->window) + widget->priv.x;

mercurial