g_set_application_name unavailable in glib-2.0 < 2.2.0
Gabriel Schulhof
nix at go-nix.ca
Mon Aug 6 19:37:44 EDT 2007
#
# old_revision [5cd317ad290e840fa8a8624d17dd5f23f99330ac]
#
# patch "pidgin/gtkmain.c"
# from [a37abd5b651936b3cb0dd0326686f2b8563a0839]
# to [bee0fa64e78bfc7b8d2451a3d3d10b06aa7bbb61]
#
============================================================
--- pidgin/gtkmain.c a37abd5b651936b3cb0dd0326686f2b8563a0839
+++ pidgin/gtkmain.c bee0fa64e78bfc7b8d2451a3d3d10b06aa7bbb61
@@ -695,7 +695,9 @@ int main(int argc, char *argv[])
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);
More information about the Devel
mailing list