[glabels] Don't require windowing system for glabels-batch.
- From: Jim Evins <jimevins src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glabels] Don't require windowing system for glabels-batch.
- Date: Sat, 26 Feb 2011 14:02:17 +0000 (UTC)
commit 66d2aa8ed705bbb573571e8ea16328cfbae56731
Author: Jim Evins <evins snaught com>
Date: Sat Feb 26 08:49:12 2011 -0500
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/glabels-batch.c b/src/glabels-batch.c
index 4dd16e0..fb5cc7a 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"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]