Revert "Drop support for glib < 2.36"

This reverts commit 495f56659d.
This commit is contained in:
infirit
2014-12-16 12:37:53 +01:00
parent c24498bd92
commit 13392e50c6
7 changed files with 25 additions and 1 deletions

View File

@@ -140,6 +140,9 @@ test_consecutive_multibyte_big_read ()
int main (int argc,
char *argv[])
{
#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
#endif
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/document-input-stream/empty", test_empty);

View File

@@ -238,6 +238,9 @@ test_begin_new_line_detection ()
int main (int argc,
char *argv[])
{
#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
#endif
g_test_init (&argc, &argv, NULL);
pluma_prefs_manager_app_init ();

View File

@@ -119,6 +119,9 @@ test_big_char ()
int main (int argc,
char *argv[])
{
#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
#endif
g_test_init (&argc, &argv, NULL);
pluma_prefs_manager_app_init ();

View File

@@ -687,6 +687,9 @@ int main (int argc,
gboolean have_unowned;
gboolean have_unowned_group;
#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
#endif
g_test_init (&argc, &argv, NULL);
pluma_prefs_manager_app_init ();

View File

@@ -341,6 +341,9 @@ test_guessed ()
int main (int argc,
char *argv[])
{
#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
#endif
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/smart-converter/utf8-utf8", test_utf8_utf8);