Re: Simple boxing

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

 



Hi,

Gabriel de Perthuis <Gabriel.de-Perthuis@xxxxxxxxxxx> writes:

> Le mercredi 03 novembre 2004 Ã 08:22 +0100, David Necas (Yeti) a Ãcrit :
>> You can use a pointer -- with G_TYPE_POINTER column type.
>> In fact I often use G_TYPE_POINTER even for objects because
>> I don't like unreferencing them every time I fetch them from
>> model.
> Thanks, it is more simple than I thought!
>
> It is certainly worth mentioning this in the gobject tutorial, in
> chapter 2 or maybe in chapter 4.

It isn't really recommended to treat objects like this. Of course if
you know what you are doing, it will work. But I wouldn't suggest to
do it this way as it may very well fall onto your feet one day.


Sven
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux