parent
c24498bd92
commit
13392e50c6
|
@ -290,7 +290,7 @@ esac
|
||||||
PKG_CHECK_MODULES(GMODULE,gmodule-2.0,[GMODULE_ADD="gmodule-2.0"],[GMODULE_ADD=""])
|
PKG_CHECK_MODULES(GMODULE,gmodule-2.0,[GMODULE_ADD="gmodule-2.0"],[GMODULE_ADD=""])
|
||||||
PKG_CHECK_MODULES(PLUMA, [
|
PKG_CHECK_MODULES(PLUMA, [
|
||||||
libxml-2.0 >= 2.5.0
|
libxml-2.0 >= 2.5.0
|
||||||
glib-2.0 >= 2.36.0
|
glib-2.0 >= 2.32.0
|
||||||
$GMODULE_ADD
|
$GMODULE_ADD
|
||||||
gthread-2.0 >= 2.13.0
|
gthread-2.0 >= 2.13.0
|
||||||
gio-2.0 >= 2.26.0
|
gio-2.0 >= 2.26.0
|
||||||
|
|
|
@ -555,6 +555,15 @@ main (int argc, char *argv[])
|
||||||
gchar *dir;
|
gchar *dir;
|
||||||
gchar *icon_dir;
|
gchar *icon_dir;
|
||||||
|
|
||||||
|
/* Init type system as soon as possible */
|
||||||
|
#if !GLIB_CHECK_VERSION (2, 36, 0)
|
||||||
|
g_type_init ();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Init glib threads asap */
|
||||||
|
#if !GLIB_CHECK_VERSION (2, 32, 0)
|
||||||
|
g_thread_init (NULL);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Setup debugging */
|
/* Setup debugging */
|
||||||
pluma_debug_init ();
|
pluma_debug_init ();
|
||||||
|
|
|
@ -140,6 +140,9 @@ test_consecutive_multibyte_big_read ()
|
||||||
int main (int argc,
|
int main (int argc,
|
||||||
char *argv[])
|
char *argv[])
|
||||||
{
|
{
|
||||||
|
#if !GLIB_CHECK_VERSION (2, 36, 0)
|
||||||
|
g_type_init ();
|
||||||
|
#endif
|
||||||
g_test_init (&argc, &argv, NULL);
|
g_test_init (&argc, &argv, NULL);
|
||||||
|
|
||||||
g_test_add_func ("/document-input-stream/empty", test_empty);
|
g_test_add_func ("/document-input-stream/empty", test_empty);
|
||||||
|
|
|
@ -238,6 +238,9 @@ test_begin_new_line_detection ()
|
||||||
int main (int argc,
|
int main (int argc,
|
||||||
char *argv[])
|
char *argv[])
|
||||||
{
|
{
|
||||||
|
#if !GLIB_CHECK_VERSION (2, 36, 0)
|
||||||
|
g_type_init ();
|
||||||
|
#endif
|
||||||
g_test_init (&argc, &argv, NULL);
|
g_test_init (&argc, &argv, NULL);
|
||||||
|
|
||||||
pluma_prefs_manager_app_init ();
|
pluma_prefs_manager_app_init ();
|
||||||
|
|
|
@ -119,6 +119,9 @@ test_big_char ()
|
||||||
int main (int argc,
|
int main (int argc,
|
||||||
char *argv[])
|
char *argv[])
|
||||||
{
|
{
|
||||||
|
#if !GLIB_CHECK_VERSION (2, 36, 0)
|
||||||
|
g_type_init ();
|
||||||
|
#endif
|
||||||
g_test_init (&argc, &argv, NULL);
|
g_test_init (&argc, &argv, NULL);
|
||||||
|
|
||||||
pluma_prefs_manager_app_init ();
|
pluma_prefs_manager_app_init ();
|
||||||
|
|
|
@ -687,6 +687,9 @@ int main (int argc,
|
||||||
gboolean have_unowned;
|
gboolean have_unowned;
|
||||||
gboolean have_unowned_group;
|
gboolean have_unowned_group;
|
||||||
|
|
||||||
|
#if !GLIB_CHECK_VERSION (2, 36, 0)
|
||||||
|
g_type_init ();
|
||||||
|
#endif
|
||||||
g_test_init (&argc, &argv, NULL);
|
g_test_init (&argc, &argv, NULL);
|
||||||
|
|
||||||
pluma_prefs_manager_app_init ();
|
pluma_prefs_manager_app_init ();
|
||||||
|
|
|
@ -341,6 +341,9 @@ test_guessed ()
|
||||||
int main (int argc,
|
int main (int argc,
|
||||||
char *argv[])
|
char *argv[])
|
||||||
{
|
{
|
||||||
|
#if !GLIB_CHECK_VERSION (2, 36, 0)
|
||||||
|
g_type_init ();
|
||||||
|
#endif
|
||||||
g_test_init (&argc, &argv, NULL);
|
g_test_init (&argc, &argv, NULL);
|
||||||
|
|
||||||
g_test_add_func ("/smart-converter/utf8-utf8", test_utf8_utf8);
|
g_test_add_func ("/smart-converter/utf8-utf8", test_utf8_utf8);
|
||||||
|
|
Loading…
Reference in New Issue