Re: GtkGC shared auto-release



Kevin Ryde wrote:
Did this patch never get applied?
Don't think so.

I just committed muppet's patch with the "static" fix.

I'd suggested hanging the release in the plain Gtk2::Gdk::GC
destruction, rather than a subclass.  Not terribly encapsulated, but
would mean a plain Gtk2::Gdk::GC the same as at the C level, instead of
a new subclass.

What's the problem with a new subclass?  Since Gtk2::GC inherits from
Gtk2::Gdk::GC, code that expects a Gtk2::Gdk::GC should continue to work
just fine when given a Gtk2::GC.

-- 
Bye,
-Torsten



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]