changeset 21669:2325df611c04

Do not init gnt here. This fixes --help.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 27 Nov 2007 21:13:01 +0000
parents 8eaaa8966e4d
children 80a57819485e
files finch/finch.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/finch/finch.c	Mon Nov 26 23:39:42 2007 +0000
+++ b/finch/finch.c	Tue Nov 27 21:13:01 2007 +0000
@@ -297,7 +297,6 @@
 	if (opt_version) {
 		/* Translators may want to transliterate the name.
 		 It is not to be translated. */
-		gnt_quit();
 		printf("%s %s\n", _("Finch"), DISPLAY_VERSION);
 		return 0;
 	}
@@ -418,8 +417,6 @@
 	g_set_application_name(_("Finch"));
 #endif
 
-	gnt_init();
-
 	if (gnt_start(&argc, &argv)) {
 		gnt_main();