Code

Connector tool: make connectors avoid the convex hull of shapes.
[inkscape.git] / src / test-helpers.h
index 594f4b7ae8185b55f876afbcfb17b365a5f5191a..8dba0c942e23a81d16dfe7350733bbc2bd420602 100644 (file)
@@ -32,7 +32,7 @@ T* createSuiteAndDocument( void (*fun)(T*&) )
         static_cast<void>(g_object_new(inkscape_get_type(), NULL));
     }
 
-    SPDocument* tmp = sp_document_new_dummy();
+    SPDocument* tmp = sp_document_new( NULL, TRUE, true );
     if ( tmp ) {
         fun( suite );
         if ( suite )