Re: Can I use gtk_widget_unref() to releasetthe object created by gtk_invisible_new()?
- From: Sven Herzberg <herzi gnome-de org>
- To: markku vire iki fi
- Cc: gtk-devel-list gnome org, Brian Lu Sun COM
- Subject: Re: Can I use gtk_widget_unref() to releasetthe object created by gtk_invisible_new()?
- Date: Wed, 30 Jan 2008 14:31:45 +0100
Am Mittwoch, den 30.01.2008, 10:54 +0200 schrieb markku vire iki fi:
> The floating references in GTK make the whole reference counting a bit messy.
> The following points make life easier:
>
> * Always have a matching g_object_unref for each g_object_ref you have
You mean, g_object_ref_sink().
Regards,
Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]