From 6797050b7583de9c101e63b11123dc32240f27f5 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 8 Jun 2012 14:33:22 -0400 Subject: [PATCH] missing const for string constant --- termite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/termite.c b/termite.c index 72df63d..67f2cfc 100644 --- a/termite.c +++ b/termite.c @@ -258,7 +258,7 @@ MAKE_GET_CONFIG_FUNCTION(double, gdouble) static void load_config(GtkWindow *window, VteTerminal *vte, bool first_run, gboolean *dynamic_title, gboolean *urgent_on_bell, - gboolean *clickable_url, double *transparency, gchar **term) { + gboolean *clickable_url, double *transparency, const gchar **term) { static const char *filename = "termite.cfg"; const gchar *dir = g_get_user_config_dir(); @@ -410,7 +410,7 @@ static void load_config(GtkWindow *window, VteTerminal *vte, bool first_run, int main(int argc, char **argv) { GError *error = NULL; - char *term = "vte-256color"; + const char *term = "vte-256color"; GOptionContext *context = g_option_context_new("[COMMAND]"); const gchar *role = NULL;