[Gtk-sharp-list] Re: Gtk# refcount problem

Rachel Hestilow hestilow@ximian.com
18 Sep 2002 08:59:27 -0500


--=-IqafkV4/+Qk/NO0wASDQ
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

It does ref the object, if the "needs_ref" XML attribute is set.

-- Rachel

On Wed, 2002-09-18 at 07:09, Martin Baulig wrote:
> Rachel Hestilow <hestilow@ximian.com> writes:
>=20
> > I think this is actually the same problem I triggered earlier with
> > gtk_widget_get_style: Despite what gtk.defs claims, there are methods i=
n
> > gtk+ that return GObjects without reffing them. This problem doesn't
> > exist for the GtkObject case because of the float policy. Because the
> > vast majority of methods in Gtk+ are going to return GtkWidgets, the
> > problem isn't triggered for them.
>=20
> Hmm, in this case, shouldn't the code which calls ObjectManager.GetObject=
() ref the object
> first ?
>=20
> --=20
> Martin Baulig
> martin@gnome.org
>=20


--=-IqafkV4/+Qk/NO0wASDQ
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA9iIa/apOJdUj74F4RAn4LAKDnTvNHvl4qISopPxTzq5qXUg3j5ACeOWF7
M8xvQ3ARbHP4m8yKsGCQrJ8=
=rWJW
-----END PGP SIGNATURE-----

--=-IqafkV4/+Qk/NO0wASDQ--