From e4fe32824ffca45c1fb1c408152094a3d4e486ef Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Fri, 9 Oct 2020 18:29:05 -0700 Subject: Add stub to set title in GTK3 load graph --- shell/loadgraph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell/loadgraph.c') diff --git a/shell/loadgraph.c b/shell/loadgraph.c index cde0fa06..849382f6 100644 --- a/shell/loadgraph.c +++ b/shell/loadgraph.c @@ -89,13 +89,13 @@ gchar *load_graph_get_data_suffix(LoadGraph * lg) return lg->suffix; } -void load_graph_set_title(LoadGraph * lg, gchar * title) +void load_graph_set_title(LoadGraph * lg, const gchar * title) { g_free(lg->title); lg->title = g_strdup(title); } -gchar *load_graph_get_title(LoadGraph *lg) +const gchar *load_graph_get_title(LoadGraph *lg) { if (lg != NULL) return lg->title; return NULL; -- cgit v1.2.3