Code

Missed a win32 fix.
[inkscape.git] / src / test-helpers.h
index 4ec1d4dc1045bd8d2ec4a3008b20aece2e0163ed..e1b8521621b6fc9c14bf55de0e0c47d653a80c2c 100644 (file)
@@ -1,4 +1,3 @@
-
 #ifndef SEEN_TEST_HELPERS_H
 #define SEEN_TEST_HELPERS_H
 
@@ -32,7 +31,7 @@ T* createSuiteAndDocument( void (*fun)(T*&) )
         static_cast<void>(g_object_new(inkscape_get_type(), NULL));
     }
 
-    SPDocument* tmp = SPDocument::createDoc( NULL, TRUE, true );
+    SPDocument* tmp = SPDocument::createNewDoc( NULL, TRUE, true );
     if ( tmp ) {
         fun( suite );
         if ( suite )
@@ -61,4 +60,4 @@ T* createSuiteAndDocument( void (*fun)(T*&) )
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :