Esempio n. 1
0
static void unhook_cb (GtkCheckMenuItem * check, const struct MenuItem * item)
{
    hook_dissociate_full (item->hook, (HookFunction) hook_cb, check);
}
Esempio n. 2
0
static void album_cleanup (GtkWidget * widget)
{
    hook_dissociate_full ("playback begin", (HookFunction) album_update, widget);
    hook_dissociate_full ("current art ready", (HookFunction) album_update, widget);
    hook_dissociate_full ("playback stop", (HookFunction) album_clear, widget);
}