From 66d2aa8ed705bbb573571e8ea16328cfbae56731 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sat, 26 Feb 2011 08:49:12 -0500 Subject: [PATCH] Don't require windowing system for glabels-batch. Use gtk_init_check() instead of gtk_init() to initialize GTK. --- src/glabels-batch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"), -- 2.39.5