[glabels] Fix glabels-batch crash



commit 85bfb8a64853db59f56410670675015a8aa716e5
Author: Alessandro Zummo <a zummo towertech it>
Date:   Tue Dec 8 22:25:54 2009 -0500

    Fix glabels-batch crash
    
    The template_history subsystem needs to be initialized.

 AUTHORS             |    2 +-
 src/glabels-batch.c |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/AUTHORS b/AUTHORS
index 0a09606..b66632c 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -18,7 +18,7 @@ Glabels includes contributions from:
                                                       0.4.3
 	Darren Warner <warnerd users sourceforge net>
 	Javier Donaire Segarra <jyuyu users sourceforge net>
-	Alessandro Zummo <azummo towertech it>
+	Alessandro Zummo <a zummo towertech it>
 	José Dapena Paz <jdapena igalia com>
 	Akkana <akkana shallowsky com>
 	Dag Wieers <dag wieers com>
diff --git a/src/glabels-batch.c b/src/glabels-batch.c
index 78f7f07..3168f52 100644
--- a/src/glabels-batch.c
+++ b/src/glabels-batch.c
@@ -128,6 +128,7 @@ main (int argc, char **argv)
         gl_merge_init ();
         lgl_db_init ();
 	gl_prefs_init ();
+	gl_template_history_init ();
 
         /* now print the files */
         for (p = file_list; p; p = p->next) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]