[gtk+] print operation: Fix compiler warnings



commit a111f6ee23046ac2d0d3319dae53dc8862152876
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat May 30 21:28:08 2015 -0400

    print operation: Fix compiler warnings
    
    Fix warnings due to -Wdeclaration-after-statement and -Wshadow.

 gtk/gtkprintoperation.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c
index 057430b..929cdaf 100644
--- a/gtk/gtkprintoperation.c
+++ b/gtk/gtkprintoperation.c
@@ -2506,7 +2506,6 @@ common_render_page (GtkPrintOperation *op,
   else
     {
       GtkPageOrientation  orientation;
-      GtkPageSetup       *page_setup;
       gdouble             paper_width, paper_height;
       gdouble             page_width, page_height;
       gdouble             context_width, context_height;


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