Re: Simple boxing
- From: Sven Neumann <sven gimp org>
- To: Gabriel de Perthuis <Gabriel de-Perthuis laPoste net>
- Cc: gtk-list gnome org
- Subject: Re: Simple boxing
- Date: Wed, 03 Nov 2004 13:26:47 +0100
Hi,
Gabriel de Perthuis <Gabriel de-Perthuis laPoste net> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]