Mercurial > pidgin
comparison finch/finch.c @ 20551:51285cbe582d
merge of 'd96ec25855462962b1e1e2f093f242522695c122'
and 'f44e0598263b3a48b69fd305c3ba361e95d28188'
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 19 Sep 2007 10:07:03 +0000 |
parents | d91df8046ec6 |
children | 3cc856ca2338 |
comparison
equal
deleted
inserted
replaced
20546:4195e0a93b1e | 20551:51285cbe582d |
---|---|
295 } | 295 } |
296 /* show version message */ | 296 /* show version message */ |
297 if (opt_version) { | 297 if (opt_version) { |
298 /* Translators may want to transliterate the name. | 298 /* Translators may want to transliterate the name. |
299 It is not to be translated. */ | 299 It is not to be translated. */ |
300 gnt_quit(); | |
300 printf("%s %s\n", _("Finch"), VERSION); | 301 printf("%s %s\n", _("Finch"), VERSION); |
301 return 0; | 302 return 0; |
302 } | 303 } |
303 | 304 |
304 /* set a user-specified config directory */ | 305 /* set a user-specified config directory */ |
417 g_set_application_name(_("Finch")); | 418 g_set_application_name(_("Finch")); |
418 #endif | 419 #endif |
419 | 420 |
420 gnt_init(); | 421 gnt_init(); |
421 | 422 |
422 gnt_start(&argc, &argv); | 423 if (gnt_start(&argc, &argv)) { |
423 | 424 gnt_main(); |
424 gnt_main(); | |
425 | 425 |
426 #ifdef STANDALONE | 426 #ifdef STANDALONE |
427 purple_core_quit(); | 427 purple_core_quit(); |
428 #endif | 428 #endif |
429 } | |
429 | 430 |
430 return 0; | 431 return 0; |
431 } | 432 } |
432 | 433 |