I think it has what you ask for, if a class doesn't inherit from gobject then 
internally it inherits from gtypeinstance which is what you said.

Sometimes people don't distinguish between the two, though.

However I want compact non-gobject non-gtype instance (I want I want... Never 
satisifed with what Juerg et al have produced for me...)

Sam


-----Original Message-----
From: Ali Sabil <[EMAIL PROTECTED]>
Sent: Wednesday, August 20, 2008 9:25 PM
To: Bastien Nocera <[EMAIL PROTECTED]>
Cc: gtk-devel-list <gtk-devel-list@gnome.org>; Vala Mailing list <[EMAIL 
PROTECTED]>
Subject: Re: [Vala] Lacking of a ref-counted string.

On Wed, Aug 20, 2008 at 9:15 PM, Bastien Nocera <[EMAIL PROTECTED]> wrote:
On Wed, 2008-08-20 at 15:10 -0400, Yu Feng wrote:
 > Dear Devs,
 >
 > Is there any particular reason that GLib doesn't provide a ref-counted
 > string and a ref-counted array type? Lacking them in GLib makes the VALA
 > language a real pain.

You could just wrap simple GObjects around GString and GPtrArray.


Wouldn't that be overkill ? do we need signals and properties for strings and 
arrays ? maybe GLib/GObject should have something like GstMiniObject that only 
provides reference counting and no signals/properties ?
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to