Code

BUG 168896, fix BUG_168896_refactor_tempfile.patch problems with Vista tempfiles...
[inkscape.git] / src / ui / dialog / print.cpp
index 3deb4204ad470a9aa3c8a29659b92ae69fb6cd74..52ff07ee6d5d2d409454fb9c202a91af58414269 100644 (file)
@@ -26,6 +26,7 @@
 #include "unit-constants.h"
 #include "helper/png-write.h"
 #include "svg/svg-color.h"
+#include "io/sys.h"
 
 
 static void
@@ -46,7 +47,7 @@ draw_page (GtkPrintOperation */*operation*/,
         std::string tmp_base = "inkscape-print-png-XXXXXX";
 
         int tmp_fd;
-        if ( (tmp_fd = Glib::file_open_tmp (tmp_png, tmp_base)) >= 0) {
+        if ( (tmp_fd = Inkscape::IO::file_open_tmp (tmp_png, tmp_base)) >= 0) {
             close(tmp_fd);
 
             guint32 bgcolor = 0x00000000;