adg: updated for GTK+2 support
authorNicola Fontana <ntd@entidi.it>
Thu, 14 Mar 2013 09:04:59 +0000 (14 10:04 +0100)
committerNicola Fontana <ntd@entidi.it>
Thu, 14 Mar 2013 09:04:59 +0000 (14 10:04 +0100)
Corrected AdgMatrix -> cairo_matrix_t transition also on the GTK+2 side.

src/adg/adg-gtk-area-gtk2.c

index a97f0c0..1855bb2 100644 (file)
@@ -68,6 +68,7 @@
 #include "adg-title-block.h"
 #include <adg-canvas.h>
 #include "adg-gtk-utils.h"
+#include "adg-matrix-fallback.h"
 
 #include "adg-gtk-area.h"
 #include "adg-gtk-area-private.h"
@@ -178,7 +179,7 @@ adg_gtk_area_class_init(AdgGtkAreaClass *klass)
     param = g_param_spec_boxed("render-map",
                                P_("Render Map"),
                                P_("The transformation to be applied on the canvas before rendering it"),
-                               ADG_TYPE_MATRIX,
+                               CAIRO_GOBJECT_TYPE_MATRIX,
                                G_PARAM_READWRITE);
     g_object_class_install_property(gobject_class, PROP_RENDER_MAP, param);