From 0feceaf03a6844c673bde7208edd1d7096544fd7 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 31 May 2012 09:17:08 -0400 Subject: [PATCH] small cleanup --- termite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/termite.c b/termite.c index 7ca5f20..f2a6c4f 100644 --- a/termite.c +++ b/termite.c @@ -12,7 +12,7 @@ static gchar *role = NULL; -static GOptionEntry entries[] = { +static const GOptionEntry entries[] = { { "role", 'r', 0, G_OPTION_ARG_STRING, &role, "The role to use", "ROLE" }, { NULL } }; @@ -173,7 +173,7 @@ int main(int argc, char **argv) { GOptionContext *context = g_option_context_new("[COMMAND]"); g_option_context_add_main_entries(context, entries, NULL); - g_option_context_add_group(context, gtk_get_option_group (TRUE)); + g_option_context_add_group(context, gtk_get_option_group(TRUE)); if (!g_option_context_parse(context, &argc, &argv, &error)) { g_print("option parsing failed: %s\n", error->message);