[balsa/wip/gtk4: 45/351] Deconstify



commit a00d4d8df9a1242ed54c9058e61bcc0bd784b9bf
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Tue Oct 24 12:56:40 2017 -0400

    Deconstify

 src/balsa-print-object.c |    2 +-
 src/balsa-print-object.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/balsa-print-object.c b/src/balsa-print-object.c
index 99a15f0..8271114 100644
--- a/src/balsa-print-object.c
+++ b/src/balsa-print-object.c
@@ -441,7 +441,7 @@ split_for_layout(PangoLayout * layout, const gchar * text,
 /* print a cairo_surface_t to cairo at the specified position and with the
  * specified scale */
 gboolean
-cairo_print_surface(cairo_t * cairo_ctx, const cairo_surface_t * surface,
+cairo_print_surface(cairo_t * cairo_ctx, cairo_surface_t * surface,
                    gdouble c_at_x, gdouble c_at_y, gdouble scale)
 {
     gint width;
diff --git a/src/balsa-print-object.h b/src/balsa-print-object.h
index a745b77..524d0fb 100644
--- a/src/balsa-print-object.h
+++ b/src/balsa-print-object.h
@@ -60,7 +60,7 @@ gint p_string_width_from_layout(PangoLayout * layout, const gchar * text);
 gint p_string_height_from_layout(PangoLayout * layout, const gchar * text);
 gboolean cairo_print_pixbuf(cairo_t * cairo_ctx, const GdkPixbuf * pixbuf,
                            gdouble c_at_x, gdouble c_at_y, gdouble scale);
-gboolean cairo_print_surface(cairo_t * cairo_ctx, const cairo_surface_t * surface,
+gboolean cairo_print_surface(cairo_t * cairo_ctx, cairo_surface_t * surface,
                             gdouble c_at_x, gdouble c_at_y, gdouble scale);
 GList *split_for_layout(PangoLayout * layout, const gchar * text,
                        PangoAttrList * attributes,


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