From 7ed0e4d09bde0db0617526fac2e8d48e31713196 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 1 Sep 2014 00:10:42 +0200 Subject: [PATCH] Fix for 3f143870: const qualifier was missing in ag_chart_get_name() invocations --- src/ag-window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ag-window.c b/src/ag-window.c index 8d106fc..1c750de 100644 --- a/src/ag-window.c +++ b/src/ag-window.c @@ -730,7 +730,7 @@ ag_window_recalculate_chart(AgWindow *window, gboolean set_everything) static void ag_window_export_svg(AgWindow *window, GError **err) { - gchar *name; + const gchar *name; gchar *file_name; GtkWidget *fs; gint response; @@ -820,7 +820,7 @@ ag_window_export_svg_action(GSimpleAction *action, static void ag_window_export(AgWindow *window, GError **err) { - gchar *name; + const gchar *name; gchar *file_name; GtkWidget *fs; gint response;