Drop all GLIB_CHECK_VERSION macros.
g_message ("DEBUG: attachment write failed.\n");
}
-#if GLIB_CHECK_VERSION(2,21,3)
g_mapped_file_unref (mapped_file);
-#else
- g_mapped_file_free (mapped_file);
-#endif
+
if (fd != -1)
close (fd);
dest_url = g_filename_to_uri (dest_file, NULL, NULL);
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
dnl Required Package Versions
-m4_define([glib_minimum_version], [2.28])
+m4_define([glib_minimum_version], [2.30])
m4_define([gtk_minimum_version], [3.0])
m4_define([gconf_minimum_version], [2.0.0]) dnl XXX Just a Guess
m4_define([gnome_keyring_minimum_version], [2.20.1])
static gunichar
stripped_char (gunichar ch)
{
-#if GLIB_CHECK_VERSION(2,29,12)
gunichar decomp[4];
-#else
- gunichar *decomp;
-#endif
gunichar retval;
GUnicodeType utype;
gsize dlen;
/* Convert to lowercase, fall through */
ch = g_unichar_tolower (ch);
case G_UNICODE_LOWERCASE_LETTER:
-#if GLIB_CHECK_VERSION(2,29,12)
if ((dlen = g_unichar_fully_decompose (ch, FALSE, decomp, 4))) {
retval = decomp[0];
return retval;
}
-#else
- if ((decomp = g_unicode_canonical_decomposition (ch, &dlen))) {
- retval = decomp[0];
- g_free (decomp);
- return retval;
- }
-#endif
break;
}
#include <gtk/gtk.h>
#endif
-#ifdef G_OS_UNIX
-#if GLIB_CHECK_VERSION(2,29,5)
-#include <glib-unix.h>
-#endif
-#endif
-
#ifdef G_OS_WIN32
#include <windows.h>
#include <conio.h>