/pidgin/main: 045116cfc02e: Our autoconf requires glib 2.16.0 or...
Mark Doliner
mark at kingant.net
Sun Dec 30 02:45:57 EST 2012
Changeset: 045116cfc02e16224bf56cd5a5ca599a9c98abf6
Author: Mark Doliner <mark at kingant.net>
Date: 2012-12-29 23:45 -0800
Branch: default
URL: http://hg.pidgin.im/pidgin/main/rev/045116cfc02e
Description:
Our autoconf requires glib 2.16.0 or newer, so we can remove this check.
diffstat:
libpurple/util.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diffs (16 lines):
diff --git a/libpurple/util.c b/libpurple/util.c
--- a/libpurple/util.c
+++ b/libpurple/util.c
@@ -3399,12 +3399,7 @@ purple_socket_speaks_ipv4(int fd)
gboolean
purple_strequal(const gchar *left, const gchar *right)
{
-#if GLIB_CHECK_VERSION(2,16,0)
return (g_strcmp0(left, right) == 0);
-#else
- return ((left == NULL && right == NULL) ||
- (left != NULL && right != NULL && strcmp(left, right) == 0));
-#endif
}
const char *
More information about the Commits
mailing list