Re: action->get_proxies during connect-proxy emit



Torsten Schoenfeld <kaffeetisch gmx de> writes:

gtk_action_get_proxies for handing out objects that are potentially
floating,

Sounds dodgy, though you can see how it might be easiest.  Perhaps
nobody ever tried to add refs to anything get_proxies returns.  I used
it because I though I could share a bit of "update them all" code with
"new one added".

or us for assuming we can sink any floating objects returned by
gtk_action_get_proxies.

If it's not a constructor then it's not right to sink, is it?  A very
tedious distinction, but I suppose one that has to be respected.  Other
plain "get" stuff presumably is the same, except I guess they're already
sunk by the time you get there (eg. $container->get_children).



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