Bug 3364 - Make pycairo compile against gtk+ 2.7.x
Summary: Make pycairo compile against gtk+ 2.7.x
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 0.9.3
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-22 08:43 UTC by Gustavo J. A. M. Carneiro
Modified: 2005-08-22 00:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
make gdk_cairo_create conditionally defined depending on gtk+ 2.8 API availability (2.15 KB, patch)
2005-05-22 08:44 UTC, Gustavo J. A. M. Carneiro
Details | Splinter Review
sorry, this is the correct patch (3.16 KB, patch)
2005-05-22 09:25 UTC, Gustavo J. A. M. Carneiro
Details | Splinter Review

Description Gustavo J. A. M. Carneiro 2005-05-22 08:43:40 UTC
pycairo currently copies a function that is found in gtk+ HEAD, which makes it
compile only on gtk+ < 2.7.
Comment 1 Gustavo J. A. M. Carneiro 2005-05-22 08:44:35 UTC
Created attachment 2741 [details] [review]
make gdk_cairo_create conditionally defined depending on gtk+ 2.8 API availability
Comment 2 Gustavo J. A. M. Carneiro 2005-05-22 09:25:00 UTC
Created attachment 2743 [details] [review]
sorry, this is the correct patch
Comment 3 Gustavo J. A. M. Carneiro 2005-05-22 09:26:52 UTC
PS: perhaps the only two cairo.gtk functions should move into pygtk (module
gtk.gdk)?  PyGTK has already branched for 2.8..
Comment 4 Steve Chaplin 2005-05-26 20:12:17 UTC
I should have given gdk_cairo_create a 'py' prefix to make it unique.
Thanks for the patch, its now in cvs.

It would be good for the two cairo.gtk functions to move into pygtk, then the
module would only be needed for people with pygtk < 2.8 and could eventually be
removed completely.
Comment 5 Steve Chaplin 2005-05-26 20:13:35 UTC
Patch applied, closing bug report.
Comment 6 Gustavo J. A. M. Carneiro 2005-05-29 11:57:46 UTC
I'm proposing making pygtk depend on pycairo.  See
http://bugzilla.gnome.org/show_bug.cgi?id=305844
Comment 7 Carl Worth 2005-08-22 17:14:48 UTC
Move bugs against "cvs" version to "0.9.3" so we can remove the "cvs" version.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.