Hi,

On Fri, 2009-06-19 at 10:29 +0100, Richard Hughes wrote:

> It would be really great to wrap GCancellable in another object, in my
> case PkCancellable and add the extra functionality there.
> Unfortunately _GCancellable is private and not public, and thus can't
> be subclassed. I've attached a patch to make it public, and use a
> _GCancellablePrivate struct, which solves my problem nicely.

Very nice. I have frequently hit the problem that objects in GTK+ and
GLib are hard, if not impossible, to subclass. +1 from me for your
patch.

I'd also welcome if GCancellable and GInitable could be moved to
GObject. They are potentially useful outside GIO.


Sven


_______________________________________________
gtk-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to