From 732eff53f0510108732b26cffdac60a99905b4c5 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sun, 3 May 2020 10:46:10 -0700 Subject: hi_module_get_about() should return a const pointer --- shell/callbacks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/callbacks.c b/shell/callbacks.c index bbcc4617..38d51c33 100644 --- a/shell/callbacks.c +++ b/shell/callbacks.c @@ -95,7 +95,7 @@ void cb_about_module(GtkAction * action) { Shell *shell = shell_get_main_shell(); GSList *modules = shell->tree->modules; - ModuleAbout *ma; + const ModuleAbout *ma; gchar *name; g_object_get(G_OBJECT(action), "tooltip", &name, NULL); -- cgit v1.2.3