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
This commit is contained in:
Cody Russell 2008-04-03 17:58:53 +00:00 committed by Cody Russell
parent 2503eac037
commit 5109ce1809
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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>
Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very

View File

@ -1708,11 +1708,13 @@ _gtk_print_operation_platform_backend_preview_end_page (GtkPrintOperation *op,
cairo_surface_t *surface,
cairo_t *cr)
{
HDC dc;
cairo_surface_show_page (cr);
/* 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);
}