From b52e7700ff7fe1b1d1214e2c3f0ea0c18c87e1b4 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 31 May 2012 09:25:22 -0400 Subject: [PATCH] more minor cleanup --- termite.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/termite.c b/termite.c index e6d2ba5..be32002 100644 --- a/termite.c +++ b/termite.c @@ -163,15 +163,13 @@ static void window_title_cb(VteTerminal *vte, GtkWindow *window) { int main(int argc, char **argv) { GError *error = NULL; + GOptionContext *context = g_option_context_new("[COMMAND]"); - const gchar *role = NULL; - const GOptionEntry entries[] = { { "role", 'r', 0, G_OPTION_ARG_STRING, &role, "The role to use", "ROLE" }, { NULL } }; - g_option_context_add_main_entries(context, entries, NULL); g_option_context_add_group(context, gtk_get_option_group(TRUE));