[gjs] Fix the build



commit 79075a41be7bfeb8706b66aef4280db0d73d50d8
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Apr 10 12:48:57 2014 -0700

    Fix the build
    
    The definition of GJS_DEFINE_PROTO_WITH_GTYPE() was changed in the
    meantime. Yay continuous!

 modules/cairo-region.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/cairo-region.cpp b/modules/cairo-region.cpp
index ce48d45..06af3a1 100644
--- a/modules/cairo-region.cpp
+++ b/modules/cairo-region.cpp
@@ -36,7 +36,7 @@ typedef struct {
     cairo_region_t *region;
 } GjsCairoRegion;
 
-GJS_DEFINE_PROTO_WITH_GTYPE("CairoRegion", cairo_region, CAIRO_GOBJECT_TYPE_REGION)
+GJS_DEFINE_PROTO_WITH_GTYPE("CairoRegion", cairo_region, CAIRO_GOBJECT_TYPE_REGION, 
JSCLASS_BACKGROUND_FINALIZE)
 GJS_DEFINE_PRIV_FROM_JS(GjsCairoRegion, gjs_cairo_region_class);
 
 static cairo_region_t *


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