Re: gtk_signal_emit & refcounting
- From: Darin Adler <darin bentspoon com>
- To: John Tunison <john tunison net>
- Cc: gtk-devel-list gnome org
- Subject: Re: gtk_signal_emit & refcounting
- Date: Fri, 31 Aug 2001 08:47:47 -0700
On Friday, August 31, 2001, at 07:20 AM, John Tunison wrote:
Why does some code ref and unref, wrapped around a signal emission?
(Like gtk_widget_hide, but I've seen it elsewhere too.)
I can't answer for "elsewhere too", but gtk_widget_hide refs to guarantee
that the widget will still be around for the gtk_widget_queue_resize that
runs after the signal emission.
-- Darin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]