Re: signal disconnections for singleton objects



There is no way to hook into unref.

Why don't you create a function like

void panel_plugin_unregister(...)
{
        g_signal_handler_disconnect();
        g_object_unref();
}

Jan-Marek



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]