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

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

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:
> > 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=
> > 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.
> Hmm, in this case, shouldn't the code which calls ObjectManager.GetObject=
() ref the object
> first ?
> --=20
> Martin Baulig
> martin@gnome.org

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

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