summaryrefslogtreecommitdiffstats
path: root/src/test-helpers.h
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2007-05-12 19:15:27 +0000
committerjoncruz <joncruz@users.sourceforge.net>2007-05-12 19:15:27 +0000
commit1a76e293b8f5a30aefccacf9532570743e27a482 (patch)
treece2d168080cfbd2a2bdd44471d1859afe062c4de /src/test-helpers.h
parentFixed print specifier (diff)
downloadinkscape-1a76e293b8f5a30aefccacf9532570743e27a482.tar.gz
inkscape-1a76e293b8f5a30aefccacf9532570743e27a482.zip
Cleaned up test doc creation
(bzr r3007)
Diffstat (limited to 'src/test-helpers.h')
-rw-r--r--src/test-helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test-helpers.h b/src/test-helpers.h
index 594f4b7ae..8dba0c942 100644
--- a/src/test-helpers.h
+++ b/src/test-helpers.h
@@ -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 )