diff console/libgnt/gntbindable.c @ 15210:7d682fc9098f

[gaim-migrate @ 18000] Clicking the first window on the taskbar didn't give it focus. Fix that. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 15 Dec 2006 00:40:56 +0000
parents 1c0772f7260b
children 7a52dce840b4
line wrap: on
line diff
--- a/console/libgnt/gntbindable.c	Thu Dec 14 22:25:18 2006 +0000
+++ b/console/libgnt/gntbindable.c	Fri Dec 15 00:40:56 2006 +0000
@@ -107,10 +107,7 @@
 	
 	action = g_hash_table_lookup(klass->actions, name);
 	if (action && action->u.action) {
-		if (list)
-			return action->u.action(bindable, list);
-		else
-			return action->u.action_noparam(bindable);
+		return action->u.action(bindable, list);
 	}
 	return FALSE;
 }