changeset 14845:b1650510f4b8

[gaim-migrate @ 17614] a couple of minor fixes committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 29 Oct 2006 00:15:32 +0000
parents 8d1a1a6c57d9
children c7651586e27b
files console/libgnt/gntbox.c console/libgnt/gntmenu.c
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/console/libgnt/gntbox.c	Sat Oct 28 23:55:29 2006 +0000
+++ b/console/libgnt/gntbox.c	Sun Oct 29 00:15:32 2006 +0000
@@ -704,8 +704,6 @@
 	GntWidget *wid;
 	int width, height;
 
-	g_return_if_fail(GNT_WIDGET(box)->parent == NULL);
-
 	for (iter = box->list; iter; iter = iter->next)
 	{
 		GntWidget *w = iter->data;
--- a/console/libgnt/gntmenu.c	Sat Oct 28 23:55:29 2006 +0000
+++ b/console/libgnt/gntmenu.c	Sun Oct 29 00:15:32 2006 +0000
@@ -210,7 +210,7 @@
 	}
 
 	if (item) {
-		if (GNT_MENUITEM_CHECK(item))
+		if (GNT_IS_MENUITEM_CHECK(item))
 			gnt_menu_toggled(GNT_TREE(widget), item);
 		else
 			menuitem_activate(menu, item);