Keybuk | Amaranth: but then how do you free a child object you're the owner of? :) | 00:02 |
---|---|---|
Amaranth | Well, with GInitiallyUnowned the idea is to sink the floating reference right away | 00:02 |
Keybuk | ion_: the way I'd do that is just to have the objects allocated parent-less | 00:03 |
Amaranth | it's meant to be used so you can create a widget then add it to a container without having to unref your copy afterward | 00:03 |
Keybuk | and do the refcounting in the object | 00:03 |
Keybuk | (see upstart's own Event object, that's ref counted) | 00:03 |
ion_ | Yep... I was kind of hoping to have the support for that in the allocator itself, but that works, too. | 00:05 |
ion_ | How about relicensing libnih as LGPL so i can use it in stuff i’m going to release LGPLed? ;-) | 00:06 |
monchevique | is this forum about art | 00:22 |
monchevique | ? | 00:22 |
ion_ | :-D | 00:23 |
monchevique | what does ":-D" MEAN? | 00:23 |
Keybuk | ion_: why not release your stuff GPLed? :) | 04:55 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!