gnomemm r1804 - in goocanvasmm/trunk: . examples/demo



Author: jjongsma
Date: Wed Nov 19 03:17:08 2008
New Revision: 1804
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1804&view=rev

Log:
Fix build with cairomm >= 1.7

	* examples/demo/primitives.cc: use cairo_matrix_t directly since that's
	actually the type that we need for the g_object_set() call.  This fixes the
	build when using cairomm 1.7+ (Bug #560074)


Modified:
   goocanvasmm/trunk/ChangeLog
   goocanvasmm/trunk/examples/demo/primitives.cc

Modified: goocanvasmm/trunk/examples/demo/primitives.cc
==============================================================================
--- goocanvasmm/trunk/examples/demo/primitives.cc	(original)
+++ goocanvasmm/trunk/examples/demo/primitives.cc	Wed Nov 19 03:17:08 2008
@@ -354,7 +354,7 @@
 Glib::RefPtr<Goocanvas::Item>
 Primitives::_create_anchor(double x, double y)
 {
-  Cairo::Matrix m = { 0.8, 0.2, -0.3, 0.5, x, y };
+  cairo_matrix_t m = { 0.8, 0.2, -0.3, 0.5, x, y };
 
   Glib::RefPtr<Goocanvas::Group> group = Goocanvas::Group::create() ;
   _canvas->get_root_item()->add_child(group);



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