Fix various const-correctness issues

Spotted when temporarily compiling with -Wwrite-strings. This only goes
a small way towards making the code base -Wwrite-strings–clean. It
introduces no functional changes, and fixes no bugs.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Reviewed-by: nobody
This commit is contained in:
Philip Withnall
2018-04-26 15:16:45 +01:00
parent 9cbfb56061
commit 22cd18500d
10 changed files with 36 additions and 36 deletions

View File

@@ -153,9 +153,9 @@ typedef struct
gint monitor_created;
gint monitor_deleted;
gint monitor_changed;
gchar *monitor_path;
const gchar *monitor_path;
gint pos;
gchar *data;
const gchar *data;
gchar *buffer;
guint timeout;
} CreateDeleteData;