mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Fix test compilation on old glib
e.g. Debian 7
This commit is contained in:
parent
e19d6ee219
commit
3075cbc6fb
@ -165,7 +165,9 @@ int main(int argc, char **argv)
|
|||||||
server_destroy_flood_set_up, test_server_destroy_flood,
|
server_destroy_flood_set_up, test_server_destroy_flood,
|
||||||
server_destroy_flood_tear_down);
|
server_destroy_flood_tear_down);
|
||||||
|
|
||||||
|
#if GLIB_CHECK_VERSION(2,38,0)
|
||||||
g_test_set_nonfatal_assertions();
|
g_test_set_nonfatal_assertions();
|
||||||
|
#endif
|
||||||
|
|
||||||
core_preinit(*argv);
|
core_preinit(*argv);
|
||||||
irssi_gui = IRSSI_GUI_NONE;
|
irssi_gui = IRSSI_GUI_NONE;
|
||||||
|
Loading…
Reference in New Issue
Block a user