aboutsummaryrefslogtreecommitdiff
path: root/includes
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 /includes
parenteaeabcd97a80b3a5522d0a1882ac6a8d3940edad (diff)
hi_module_get_about() should return a const pointer
Diffstat (limited to 'includes')
-rw-r--r--includes/hardinfo.h2
-rw-r--r--includes/shell.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/hardinfo.h b/includes/hardinfo.h
index 010af922..34586549 100644
--- a/includes/hardinfo.h
+++ b/includes/hardinfo.h
@@ -134,7 +134,7 @@ GSList *modules_get_list(void);
GSList *modules_load_selected(void);
GSList *modules_load_all(void);
void module_unload_all(void);
-ModuleAbout *module_get_about(ShellModule *module);
+const ModuleAbout *module_get_about(ShellModule *module);
gchar *seconds_to_string(unsigned int seconds);
gchar *h_strdup_cprintf(const gchar *format, gchar *source, ...);
diff --git a/includes/shell.h b/includes/shell.h
index 927a9adf..3f0ef47e 100644
--- a/includes/shell.h
+++ b/includes/shell.h
@@ -139,7 +139,7 @@ struct _ShellModule {
GdkPixbuf *icon;
GModule *dll;
- gpointer (*aboutfunc) ();
+ gconstpointer (*aboutfunc)(void);
gchar *(*summaryfunc) ();
void (*deinit) ();