diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/info.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/info.h b/includes/info.h index 253c06e0..a665f0a3 100644 --- a/includes/info.h +++ b/includes/info.h @@ -45,7 +45,7 @@ struct InfoGroup { struct InfoField { const gchar *name; - gchar *value; + const gchar *value; int update_interval; @@ -57,7 +57,7 @@ struct Info *info_new(void); void info_add_group(struct Info *info, const gchar *group_name, ...); void info_add_computed_group(struct Info *info, const gchar *name, const gchar *value); -struct InfoField info_field(const gchar *name, gchar *value); +struct InfoField info_field(const gchar *name, const gchar *value); struct InfoField info_field_printf(const gchar *name, const gchar *format, ...) __attribute__((format(printf, 2, 3))); struct InfoField info_field_update(const gchar *name, int update_interval); |