summaryrefslogtreecommitdiff
path: root/modules/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/network.c')
-rw-r--r--modules/network.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/network.c b/modules/network.c
index a40db80e..300cc041 100644
--- a/modules/network.c
+++ b/modules/network.c
@@ -433,15 +433,15 @@ void hi_module_deinit(void)
g_free(__connections);
}
-ModuleAbout *hi_module_get_about(void)
+const ModuleAbout *hi_module_get_about(void)
{
- static ModuleAbout ma[] = {
- {
- .author = "Leandro A. F. Pereira",
- .description = N_("Gathers information about this computer's network connection"),
- .version = VERSION,
- .license = "GNU GPL version 2"}
+ static const ModuleAbout ma = {
+ .author = "Leandro A. F. Pereira",
+ .description =
+ N_("Gathers information about this computer's network connection"),
+ .version = VERSION,
+ .license = "GNU GPL version 2",
};
- return ma;
+ return &ma;
}