/pidgin/main: 329ad06452ae: Remove unnecessary GLIB_CHECK_VERSIO...

Mark Doliner mark at kingant.net
Thu Jan 10 02:59:22 EST 2013


Changeset: 329ad06452ae85de9308c55e80b265e291e0b1d2
Author:	 Mark Doliner <mark at kingant.net>
Date:	 2013-01-09 23:52 -0800
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/329ad06452ae

Description:

Remove unnecessary GLIB_CHECK_VERSION call.

...now that I've changed configure.ac to require glib 2.20.0

diffstat:

 libpurple/ciphers/gchecksum.c |  6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diffs (17 lines):

diff --git a/libpurple/ciphers/gchecksum.c b/libpurple/ciphers/gchecksum.c
--- a/libpurple/ciphers/gchecksum.c
+++ b/libpurple/ciphers/gchecksum.c
@@ -17,13 +17,7 @@ purple_g_checksum_reset(PurpleCipherCont
     checksum = purple_cipher_context_get_data(context);
     g_return_if_fail(checksum != NULL);
 
-#if GLIB_CHECK_VERSION(2,18,0)
     g_checksum_reset(checksum);
-#else
-    g_checksum_free(checksum);
-    checksum = g_checksum_new(type);
-    purple_cipher_context_set_data(context, checksum);
-#endif
 }
 
 static void



More information about the Commits mailing list