pidgin/purple-plugin-pack
Remove the remaining GLIB_CHECK_VERSION's that are no longer necessary.
--- a/album/album-ui.c Thu Mar 05 00:43:51 2020 -0600
+++ b/album/album-ui.c Thu Mar 05 00:54:50 2020 -0600
@@ -25,13 +25,7 @@
/* We want to use the gstdio functions when possible so that non-ASCII
* filenames are handled properly on Windows. */
-#if GLIB_CHECK_VERSION(2,6,0)
#include <gtk/gtkwidget.h>
--- a/album/album.c Thu Mar 05 00:43:51 2020 -0600
+++ b/album/album.c Thu Mar 05 00:54:50 2020 -0600
@@ -27,13 +27,7 @@
/* We want to use the gstdio functions when possible so that non-ASCII
* filenames are handled properly on Windows. */
-#if GLIB_CHECK_VERSION(2,6,0)
--- a/gRIM/gRIM.c Thu Mar 05 00:43:51 2020 -0600
+++ b/gRIM/gRIM.c Thu Mar 05 00:54:50 2020 -0600
@@ -44,16 +44,7 @@
-#if GLIB_CHECK_VERSION(2,6,0)
--- a/highlight/highlight.c Thu Mar 05 00:43:51 2020 -0600
+++ b/highlight/highlight.c Thu Mar 05 00:54:50 2020 -0600
@@ -231,9 +231,6 @@
plugin_load(PurplePlugin *plugin)
-#if !GLIB_CHECK_VERSION(2,4,0)
purple_signal_connect(purple_conversations_get_handle(), "receiving-chat-msg", plugin,
@@ -253,7 +250,6 @@
history = g_hash_table_new_full(g_direct_hash, g_direct_equal, NULL, string_destroy);
--- a/okcupid/okc_connection.c Thu Mar 05 00:43:51 2020 -0600
+++ b/okcupid/okc_connection.c Thu Mar 05 00:54:50 2020 -0600
@@ -20,10 +20,6 @@
#include "okc_connection.h"
-#if !GLIB_CHECK_VERSION (2, 22, 0)
-#define g_hostname_is_ip_address(hostname) (g_ascii_isdigit(hostname[0]) && g_strstr_len(hostname, 4, "."))
static void okc_attempt_connection(OkCupidConnection *);
static void okc_next_connection(OkCupidAccount *oca);
--- a/oldlogger/oldlogger.c Thu Mar 05 00:43:51 2020 -0600
+++ b/oldlogger/oldlogger.c Thu Mar 05 00:54:50 2020 -0600
@@ -38,15 +38,7 @@
/* We want to use the gstdio functions when possible so that non-ASCII
* filenames are handled properly on Windows. */
-#if GLIB_CHECK_VERSION(2,6,0)
static PurpleLogLogger *oldtxt_logger;
static PurpleLogLogger *oldhtml_logger;