index 1ea51f6b990c245b0459d7cbb0069aebecf5e70e..74635b2a609b4e25e71f3818f3bef7c615505cda 100644 (file)
/* 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 )
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.