mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-05 02:36:19 +01:00
Drop calls to g_type_init()
And bump our GLib requirement.
This commit is contained in:
parent
1eb27e4bf8
commit
5428e934b2
@ -128,7 +128,6 @@ main(int argc, char **argv)
|
|||||||
{
|
{
|
||||||
gint ret;
|
gint ret;
|
||||||
|
|
||||||
g_type_init ();
|
|
||||||
g_test_init (&argc, &argv, NULL);
|
g_test_init (&argc, &argv, NULL);
|
||||||
|
|
||||||
g_test_add_func ("/cmph-bdz/search", test_search);
|
g_test_add_func ("/cmph-bdz/search", test_search);
|
||||||
|
@ -10,8 +10,6 @@ main (int argc,
|
|||||||
GOutputStream *stdout;
|
GOutputStream *stdout;
|
||||||
GModule *self;
|
GModule *self;
|
||||||
|
|
||||||
g_type_init ();
|
|
||||||
|
|
||||||
stdout = g_unix_output_stream_new (1, FALSE);
|
stdout = g_unix_output_stream_new (1, FALSE);
|
||||||
|
|
||||||
self = g_module_open (NULL, 0);
|
self = g_module_open (NULL, 0);
|
||||||
|
@ -56,7 +56,6 @@ test_build_retrieve (void)
|
|||||||
int
|
int
|
||||||
main(int argc, char **argv)
|
main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
g_type_init ();
|
|
||||||
g_test_init (&argc, &argv, NULL);
|
g_test_init (&argc, &argv, NULL);
|
||||||
|
|
||||||
g_test_add_func ("/gthash/build-retrieve", test_build_retrieve);
|
g_test_add_func ("/gthash/build-retrieve", test_build_retrieve);
|
||||||
|
Loading…
Reference in New Issue
Block a user