forked from AuroraMiddleware/gtk
This is more horrible than I had realized
Due to tragic misunderstandings at the birth of ATK, AtkUtil can't actually be properly derived. Instead, each implementation has to poke its vfuncs directly into the AtkUtilClass struct. So painful to have shipped this stuff for 10 years...
This commit is contained in:
parent
d7ded58f51
commit
182b6f7a3c
@ -514,7 +514,11 @@ configure_event_watcher (GSignalInvocationHint *hint,
|
||||
static void
|
||||
gail_util_class_init (GailUtilClass *klass)
|
||||
{
|
||||
AtkUtilClass *atk_class = ATK_UTIL_CLASS (klass);
|
||||
AtkUtilClass *atk_class;
|
||||
gpointer data;
|
||||
|
||||
data = g_type_class_peek (ATK_TYPE_UTIL);
|
||||
atk_class = ATK_UTIL_CLASS (data);
|
||||
|
||||
atk_class->add_global_event_listener = gail_util_add_global_event_listener;
|
||||
atk_class->remove_global_event_listener = gail_util_remove_global_event_listener;
|
||||
|
Loading…
Reference in New Issue
Block a user