Commit 5109ce18 authored by Cody Russell's avatar Cody Russell Committed by Cody Russell
Browse files

Fix variable declared in the middle of the block. (#526021, reported by

2008-04-03  Cody Russell  <bratsche@gnome.org>

        * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
        of the block. (#526021, reported by Kazuki IWAMOTO)


svn path=/trunk/; revision=19974
parent 2503eac0
2008-04-03 Cody Russell <bratsche@gnome.org>
* gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
of the block. (#526021, reported by Kazuki IWAMOTO)
2008-04-03 Tor Lillqvist <tml@novell.com> 2008-04-03 Tor Lillqvist <tml@novell.com>
Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
......
...@@ -1708,11 +1708,13 @@ _gtk_print_operation_platform_backend_preview_end_page (GtkPrintOperation *op, ...@@ -1708,11 +1708,13 @@ _gtk_print_operation_platform_backend_preview_end_page (GtkPrintOperation *op,
cairo_surface_t *surface, cairo_surface_t *surface,
cairo_t *cr) cairo_t *cr)
{ {
HDC dc;
cairo_surface_show_page (cr); cairo_surface_show_page (cr);
/* TODO: Enhanced metafiles don't support multiple pages. /* TODO: Enhanced metafiles don't support multiple pages.
*/ */
HDC dc = cairo_win32_surface_get_dc (surface); dc = cairo_win32_surface_get_dc (surface);
EndPage (dc); EndPage (dc);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment