Code

Missed a win32 fix.
authorJon A. Cruz <jon@joncruz.org>
Wed, 15 Dec 2010 18:58:58 +0000 (10:58 -0800)
committerJon A. Cruz <jon@joncruz.org>
Wed, 15 Dec 2010 18:58:58 +0000 (10:58 -0800)
src/extension/internal/emf-win32-inout.cpp

index 293e9b7d8ef9c68ae18682826697c8890b9f8879..34cdecdcae44a063d0a98a8ff89c1704fd7d4e77 100644 (file)
@@ -124,7 +124,7 @@ emf_print_document_to_file(SPDocument *doc, gchar const *filename)
     /* Create new arena */
     mod->base = SP_ITEM(doc->getRoot());
     mod->arena = NRArena::create();
-    mod->dkey = sp_item_display_key_new(1);
+    mod->dkey = SPItem::display_key_new(1);
     mod->root = mod->base->invoke_show(mod->arena, mod->dkey, SP_ITEM_SHOW_DISPLAY);
     /* Print document */
     ret = mod->begin(doc);