[balsa/wip/gtk4: 44/351] Fix errors



commit 075a8acddbfe5c9440059bf617cc8e8dc82b1dea
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Tue Oct 24 12:54:00 2017 -0400

    Fix errors

 src/balsa-print-object.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/balsa-print-object.c b/src/balsa-print-object.c
index 1532c76..99a15f0 100644
--- a/src/balsa-print-object.c
+++ b/src/balsa-print-object.c
@@ -446,9 +446,7 @@ cairo_print_surface(cairo_t * cairo_ctx, const cairo_surface_t * surface,
 {
     gint width;
     gint height;
-    guint32 *dest;
     cairo_format_t format;
-    cairo_surface_t *surface;
     cairo_pattern_t *pattern;
     cairo_matrix_t matrix;
 
@@ -462,7 +460,7 @@ cairo_print_surface(cairo_t * cairo_ctx, const cairo_surface_t * surface,
                          format == CAIRO_FORMAT_RGB24,
                          FALSE);
 
-    width = cairo_image_surface_get_width(surface);
+    width  = cairo_image_surface_get_width(surface);
     height = cairo_image_surface_get_height(surface);
 
     /* save current state */


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