Mercurial > pidgin
comparison finch/finch.c @ 20204:de68625c4c04
applied changes from 1cb036aecbbe359226e69874379d39ce74c8daf6
through f07a68d96d4f38abf44c83746c89d9f0e134c535
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 28 Sep 2007 15:35:00 +0000 |
parents | 7dbeede6da97 |
children | 3cc856ca2338 |
comparison
equal
deleted
inserted
replaced
20203:a842ee320d51 | 20204:de68625c4c04 |
---|---|
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 |