Code

Extensions. Gear extension with center hole (see Bug #692719, gear extension should...
[inkscape.git] / src / style-test.h
index 7ebbf08be9ea0f9166b3622af7e4e34199aacdb5..064773d1d97a64e81bcd52539c8d9aadbf2a3ac2 100644 (file)
@@ -1,4 +1,3 @@
-
 #ifndef SEEN_STYLE_TEST_H
 #define SEEN_STYLE_TEST_H
 
@@ -11,7 +10,7 @@
 class StyleTest : public CxxTest::TestSuite
 {
 public:
-    Document* _doc;
+    SPDocument* _doc;
 
     StyleTest() :
         _doc(0)
@@ -22,7 +21,7 @@ public:
     {
         if ( _doc )
         {
-            sp_document_unref( _doc );
+            _doc->doUnref();
             _doc = 0;
         }
     }
@@ -133,4 +132,4 @@ public:
   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 :