changeset 18826:f8bea3e688b0

Patch from Gabriel Schulhof to only call g_set_application_name() if using glib 2.2 or higher. Their documentation fails to state that it was added in 2.2. *boggle*
author Mark Doliner <mark@kingant.net>
date Tue, 07 Aug 2007 07:03:56 +0000
parents 952c01c26d67
children d520087c3462
files pidgin/gtkmain.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkmain.c	Tue Aug 07 06:45:23 2007 +0000
+++ b/pidgin/gtkmain.c	Tue Aug 07 07:03:56 2007 +0000
@@ -695,7 +695,9 @@
 		return 1;
 	}
 
+#if GLIB_CHECK_VERSION(2,2,0)
 	g_set_application_name(_("Pidgin"));
+#endif /* glib-2.0 >= 2.2.0 */
 
 #ifdef _WIN32
 	winpidgin_init(hint);