Re: GtkGC shared auto-release
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: GtkGC shared auto-release
- Date: Sun, 01 Jun 2008 15:18:21 +0200
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]