aboutsummaryrefslogtreecommitdiff
path: root/shell/callbacks.c
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2020-05-03 10:46:10 -0700
committerLeandro Pereira <leandro@hardinfo.org>2020-05-03 14:08:12 -0700
commit732eff53f0510108732b26cffdac60a99905b4c5 (patch)
treef3b3867bcfa2be75235057350368d1abd048c1a8 /shell/callbacks.c
parenteaeabcd97a80b3a5522d0a1882ac6a8d3940edad (diff)
hi_module_get_about() should return a const pointer
Diffstat (limited to 'shell/callbacks.c')
-rw-r--r--shell/callbacks.c2
1 files changed, 1 insertions, 1 deletions
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);