diff options
author | Cody Russell <bratsche@gnome.org> | 2008-04-03 17:58:53 +0000 |
---|---|---|
committer | Cody Russell <bratsche@src.gnome.org> | 2008-04-03 17:58:53 +0000 |
commit | 5109ce1809a34d125d19dedb7deb2b77755a4e6b (patch) | |
tree | 256ef8479fc28417429f56de3e1c6162f8437cb1 /gtk/gtkprintoperation-win32.c | |
parent | 2503eac037f5f17ee1b3ac41b3caf59bceb0a4c9 (diff) | |
download | gtk+-5109ce1809a34d125d19dedb7deb2b77755a4e6b.tar.gz |
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
Diffstat (limited to 'gtk/gtkprintoperation-win32.c')
-rw-r--r-- | gtk/gtkprintoperation-win32.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkprintoperation-win32.c b/gtk/gtkprintoperation-win32.c index a959ac9490..a71f84dd09 100644 --- a/gtk/gtkprintoperation-win32.c +++ b/gtk/gtkprintoperation-win32.c @@ -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); } |