Code

fix linking
[inkscape.git] / src / extension / internal / win32.cpp
index 1ea51f6b990c245b0459d7cbb0069aebecf5e70e..74635b2a609b4e25e71f3818f3bef7c615505cda 100644 (file)
@@ -97,11 +97,11 @@ my_timer (HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime)
 
 /* Platform detection */
 
-bool
+gboolean
 PrintWin32::is_os_wide()
 {
-       static bool initialized = FALSE;
-       static bool is_wide = FALSE;
+       static gboolean initialized = FALSE;
+       static gboolean is_wide = FALSE;
        static OSVERSIONINFOA osver;
 
        if ( !initialized )
@@ -344,7 +344,7 @@ PrintWin32::finish (Inkscape::Extension::Print *mod)
 
                memset (px, 0xff, 4 * num_rows * width);
                /* Render */
-               nr_arena_item_invoke_render (mod->root, &bbox, &pb, 0);
+               nr_arena_item_invoke_render (NULL, mod->root, &bbox, &pb, 0);
 
                /* Swap red and blue channels; we use RGBA, whereas
                 * the Win32 GDI uses BGRx.