Single toggle reference only



Hi there,

Is there a technical reason why toggle references
allow only a single user? Namely, why

" Multiple toggle references may be added to the same
gobject, however if there are multiple toggle references
to an object, none of them will ever be notified until all
but one are removed."

Why doesn't it emit a notification when reference count
drops to N instead of 1, where N is number of
g_object_add_toggle_ref() calls?

Thanks,
Yevgen



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