Re: GtkGC shared auto-release




On Jan 14, 2008, at 6:28 PM, Torsten Schoenfeld wrote:

On Tue, 2008-01-01 at 21:37 -0500, muppet wrote:

Should we just add this DESTROY override to the bindings?  (Taking
care to retain compatibility with code that calls ->release
explicitly, of course.)

Yes, I think that would make sense. The only approach I can think of is
actually the one Kevin implemented.  Attached is an adaptation of it.
The in-place wrapping of Gtk2::GC methods makes it look and feel rather
dirty.  Is there a better way?

Not sure if it's really better, but how about a more hermetically- sealed modification of the methods themselves?

Attachment: gtkgc-xs.patch
Description: Binary data





--
The one difference between Dali and a crazy man is very simple: Dali is not crazy at all.
  -- Salvador Dali




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