MDK | 2 Sep 22:59
Picon

Re: Cairo leaks


---------- Forwarded message ----------
From: Hisham Mardam Bey <hisham.mardambey <at> gmail.com>
To: michaldominik <at> gmail.com, Miguel de Icaza <miguel <at> novell.com>
Date: Fri, 2 Sep 2005 20:46:41 +0000
Subject: Re: Cairo leaks

>  // this can be safely removed now, just keep it for a bit more
>  //Cairo.Graphics g = new Cairo.Graphics (
>  //                    gdk_cairo_create (x_drawable ));
>
>  Why is this commented out? Once you remove the whole X code and leave just:
>

Miguel and I decided to comment this out because its based on the new
versions of gtk that have this function. Since we are not sure that
this function is available to all users, we do not want to use it. As
a matter of fact, the GTK and X11 samples are just a proof of concept
thing altogether. The PNG surface tests are really what is most
important.

When versions of GTK that support cairo and have this function are
more widespread and this becomes the de-facto GTK we can switch back
to using it.

--
Hisham Mardam Bey
MSc (Computer Science)
http://hisham.cc/
+9613609386
(Continue reading)


Gmane