uref'ing or destroying
- From: Per Erik Stendahl <berrs update uu se>
- To: gtk-list redhat com
- Subject: uref'ing or destroying
- Date: Fri, 20 Aug 1999 16:01:52 +0200 (CEST)
Hi.
What is the correct thing to do when you want to destroy an object?
gtk_object_destroy() seems to be the advertised method, but that
doesn't respect the reference count of the object (at least not
in 1.2.2 as far as I can see). Looking at gtk_object_unref() I
see that it will call gtk_object_destroy() when the reference
count hits zero. Is gtk_object_unref() a Better Way then?
Regards.
--
Per Erik Stendahl <berrs@update.uu.se>
Condescending Unix Computer User.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]