summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/g-ir-inspect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/g-ir-inspect.c b/tools/g-ir-inspect.c
index 2dfe61c2..5699e93d 100644
--- a/tools/g-ir-inspect.c
+++ b/tools/g-ir-inspect.c
@@ -77,10 +77,11 @@ main (gint argc,
{ G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, &namespaces, "The typelib to inspect", "NAMESPACE" },
{ NULL },
};
+ GOptionContext *context = NULL;
setlocale (LC_ALL, "");
- GOptionContext *context = g_option_context_new ("- Inspect GI typelib");
+ context = g_option_context_new ("- Inspect GI typelib");
g_option_context_add_main_entries (context, options, NULL);
if (!g_option_context_parse (context, &argc, &argv, &error))
{