From: Jim Evins Date: Sat, 26 Feb 2011 13:49:12 +0000 (-0500) Subject: Don't require windowing system for glabels-batch. X-Git-Tag: glabels-3_0_0~32 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=66d2aa8ed705bbb573571e8ea16328cfbae56731;p=glabels Don't require windowing system for glabels-batch. Use gtk_init_check() instead of gtk_init() to initialize GTK. --- diff --git a/src/glabels-batch.c b/src/glabels-batch.c index 4dd16e06..fb5cc7af 100644 --- a/src/glabels-batch.c +++ b/src/glabels-batch.c @@ -101,7 +101,7 @@ main (int argc, char **argv) /* Initialize minimal gnome program */ - gtk_init (&argc, &argv); + gtk_init_check (&argc, &argv); if (!g_option_context_parse (option_context, &argc, &argv, &error)) { g_print(_("%s\nRun '%s --help' to see a full list of available command line options.\n"),