changeset 18828:f8b22b11a126

g_set_application_name requires glib 2.2 for finch
author Richard Nelson <wabz@pidgin.im>
date Tue, 07 Aug 2007 09:47:39 +0000
parents d520087c3462
children 7a594763c229 140662c8280c
files finch/finch.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/finch/finch.c	Tue Aug 07 07:07:09 2007 +0000
+++ b/finch/finch.c	Tue Aug 07 09:47:39 2007 +0000
@@ -401,7 +401,9 @@
 	signal(SIGPIPE, SIG_IGN);
 
 	g_set_prgname("Finch");
+#if GLIB_CHECK_VERSION(2,2,0)
 	g_set_application_name(_("Finch"));
+#endif
 
 	/* Initialize the libpurple stuff */
 	if (!init_libpurple(argc, argv))