comparison 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
comparison
equal deleted inserted replaced
15209:ffec45ff82d0 15210:7d682fc9098f
105 list = g_list_append(list, p); 105 list = g_list_append(list, p);
106 va_end(args); 106 va_end(args);
107 107
108 action = g_hash_table_lookup(klass->actions, name); 108 action = g_hash_table_lookup(klass->actions, name);
109 if (action && action->u.action) { 109 if (action && action->u.action) {
110 if (list) 110 return action->u.action(bindable, list);
111 return action->u.action(bindable, list);
112 else
113 return action->u.action_noparam(bindable);
114 } 111 }
115 return FALSE; 112 return FALSE;
116 } 113 }
117 114
118 gboolean 115 gboolean