gtk+ r19974 - in trunk: . gtk



Author: bratsche
Date: Thu Apr  3 18:58:53 2008
New Revision: 19974
URL: http://svn.gnome.org/viewvc/gtk+?rev=19974&view=rev

Log:
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)



Modified:
   trunk/ChangeLog
   trunk/gtk/gtkprintoperation-win32.c

Modified: trunk/gtk/gtkprintoperation-win32.c
==============================================================================
--- trunk/gtk/gtkprintoperation-win32.c	(original)
+++ trunk/gtk/gtkprintoperation-win32.c	Thu Apr  3 18:58:53 2008
@@ -1708,11 +1708,13 @@
 							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);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]