Looking for info on gtk_widget_unref semantics.
- From: Rob Browning <rlb cs utexas edu>
- To: gtk-list redhat com
- Subject: Looking for info on gtk_widget_unref semantics.
- Date: 16 Aug 1999 16:57:40 -0500
I've been poking around the gtk web site and in the docs for
information on when you're supposed to call gtk_widget_unref. I want
to make sure I'm handling this right so I don't introduce memory
leaks, but so far I haven't found anything describing the rules.
Actually I'd like to know what the guidelines are for all the *_unref
functions...
As an example, if I create a widget, but then never use it (because
something else failed) do I need to unref it? How about if I create a
widget, then put it in a vbox, do I need to unref it? etc.
I can determine some of the things that *aren't* OK by playing around
and watching the error spew, but that's not particularly helpful.
Thanks
--
Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]