gtk_signal_emit & refcounting
- From: John Tunison <john tunison net>
- To: gtk-devel-list gnome org
- Subject: gtk_signal_emit & refcounting
- Date: Fri, 31 Aug 2001 09:20:29 -0500
Out of curiousity, if gtk_signal_emit refs correctly ...
static void
gtk_signal_real_emit (GtkObject object ...)
{
gtk_object_ref (object);
...
gtk_object_unref (object);
}
Why does some code ref and unref, wrapped around a signal emission? (Like gtk_widget_hide, but I've seen it elsewhere too.)
John Tunison
http://john.tunison.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]