diff options
| author | Leandro Pereira <leandro@hardinfo.org> | 2020-05-03 10:46:10 -0700 | 
|---|---|---|
| committer | Leandro Pereira <leandro@hardinfo.org> | 2020-05-03 14:08:12 -0700 | 
| commit | 732eff53f0510108732b26cffdac60a99905b4c5 (patch) | |
| tree | f3b3867bcfa2be75235057350368d1abd048c1a8 /includes | |
| parent | eaeabcd97a80b3a5522d0a1882ac6a8d3940edad (diff) | |
hi_module_get_about() should return a const pointer
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/hardinfo.h | 2 | ||||
| -rw-r--r-- | includes/shell.h | 2 | 
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) (); | 
