missing const for string constant

This commit is contained in:
Daniel Micay 2012-06-08 14:33:22 -04:00
parent 3efc9e2c2f
commit 6797050b75
1 changed files with 2 additions and 2 deletions

View File

@ -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;