diff --git a/testsuite/css/data.c b/testsuite/css/data.c index 9cb3544de6..3a5b722fd0 100644 --- a/testsuite/css/data.c +++ b/testsuite/css/data.c @@ -105,7 +105,7 @@ main (int argc, char *argv[]) { guint i; - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); for (i = 0; i < G_N_ELEMENTS (tests); i++) diff --git a/testsuite/gdk/array.c b/testsuite/gdk/array.c index f9d5677b2c..400bdc5ba9 100644 --- a/testsuite/gdk/array.c +++ b/testsuite/gdk/array.c @@ -81,7 +81,7 @@ int_free_func (int data) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); g_test_add_func ("/intarray/simple", int_array_test_simple); diff --git a/testsuite/gdk/cairo.c b/testsuite/gdk/cairo.c index 071ca33767..9f8f172411 100644 --- a/testsuite/gdk/cairo.c +++ b/testsuite/gdk/cairo.c @@ -31,7 +31,7 @@ test_set_source_big_pixbuf (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); gtk_init (); g_test_add_func ("/drawing/set-source-big-pixbuf", test_set_source_big_pixbuf); diff --git a/testsuite/gdk/clipboard.c b/testsuite/gdk/clipboard.c index 741899401f..aa3b1055f2 100644 --- a/testsuite/gdk/clipboard.c +++ b/testsuite/gdk/clipboard.c @@ -73,7 +73,7 @@ test_clipboard_basic (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); gtk_init (); diff --git a/testsuite/gdk/cursor.c b/testsuite/gdk/cursor.c index 546f73bd39..e9c42671e9 100644 --- a/testsuite/gdk/cursor.c +++ b/testsuite/gdk/cursor.c @@ -57,7 +57,7 @@ test_cursor_fallback (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); gtk_init (); diff --git a/testsuite/gdk/display.c b/testsuite/gdk/display.c index 1cda169a5b..bf87567de2 100644 --- a/testsuite/gdk/display.c +++ b/testsuite/gdk/display.c @@ -68,7 +68,7 @@ test_bad_display (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); gdk_set_allowed_backends ("x11"); diff --git a/testsuite/gdk/displaymanager.c b/testsuite/gdk/displaymanager.c index ce7c0d974f..89627444e7 100644 --- a/testsuite/gdk/displaymanager.c +++ b/testsuite/gdk/displaymanager.c @@ -43,7 +43,7 @@ test_set_default (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); /* Open default display */ gdk_display_open (NULL); diff --git a/testsuite/gdk/encoding.c b/testsuite/gdk/encoding.c index 53b23aaeee..90edba19fd 100644 --- a/testsuite/gdk/encoding.c +++ b/testsuite/gdk/encoding.c @@ -37,7 +37,7 @@ test_to_text_list (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); gtk_init (); g_test_add_func ("/encoding/to-text-list", test_to_text_list); diff --git a/testsuite/gdk/keysyms.c b/testsuite/gdk/keysyms.c index 481aafae4c..3d4480ebb9 100644 --- a/testsuite/gdk/keysyms.c +++ b/testsuite/gdk/keysyms.c @@ -128,7 +128,7 @@ main (int argc, char *argv[]) { setlocale (LC_ALL, ""); - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); gtk_init (); g_test_add_func ("/keysyms/basic", test_keysyms_basic); diff --git a/testsuite/gdk/memorytexture.c b/testsuite/gdk/memorytexture.c index 950de41b0a..ea24c827e3 100644 --- a/testsuite/gdk/memorytexture.c +++ b/testsuite/gdk/memorytexture.c @@ -180,7 +180,7 @@ main (int argc, char *argv[]) Color color; GEnumClass *enum_class; - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); enum_class = g_type_class_ref (GDK_TYPE_MEMORY_FORMAT); diff --git a/testsuite/gdk/pixbuf.c b/testsuite/gdk/pixbuf.c index 591444fd86..62d68c3a77 100644 --- a/testsuite/gdk/pixbuf.c +++ b/testsuite/gdk/pixbuf.c @@ -33,7 +33,7 @@ test_format (gconstpointer d) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); g_test_add_data_func ("/pixbuf/format/png", "png", test_format); g_test_add_data_func ("/pixbuf/format/jpeg", "jpeg", test_format); diff --git a/testsuite/gdk/rectangle.c b/testsuite/gdk/rectangle.c index bf8f9983b3..bfab177a28 100644 --- a/testsuite/gdk/rectangle.c +++ b/testsuite/gdk/rectangle.c @@ -110,7 +110,7 @@ test_rectangle_contains (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); gtk_init (); diff --git a/testsuite/gdk/rgba.c b/testsuite/gdk/rgba.c index e92fd04c41..0ab68f429d 100644 --- a/testsuite/gdk/rgba.c +++ b/testsuite/gdk/rgba.c @@ -159,7 +159,7 @@ test_color_parse_nonsense (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); g_test_add_func ("/rgba/parse", test_color_parse); g_test_add_func ("/rgba/parse/nonsense", test_color_parse_nonsense); diff --git a/testsuite/gdk/seat.c b/testsuite/gdk/seat.c index 8949350cbc..266f6d5a11 100644 --- a/testsuite/gdk/seat.c +++ b/testsuite/gdk/seat.c @@ -127,7 +127,7 @@ test_default_seat (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); gtk_init (); diff --git a/testsuite/gtk/bitmask.c b/testsuite/gtk/bitmask.c index 167e729ea7..e73d486322 100644 --- a/testsuite/gtk/bitmask.c +++ b/testsuite/gtk/bitmask.c @@ -458,7 +458,7 @@ main (int argc, char *argv[]) { int result; - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); create_masks (); diff --git a/testsuite/gtk/bitset.c b/testsuite/gtk/bitset.c index 2c01912317..655d95b110 100644 --- a/testsuite/gtk/bitset.c +++ b/testsuite/gtk/bitset.c @@ -561,7 +561,7 @@ test_splice_overflow (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); g_test_add_func ("/bitset/is_empty", test_is_empty); diff --git a/testsuite/gtk/constraint-solver.c b/testsuite/gtk/constraint-solver.c index 970cf8df54..53f4905d39 100644 --- a/testsuite/gtk/constraint-solver.c +++ b/testsuite/gtk/constraint-solver.c @@ -363,7 +363,7 @@ constraint_solver_paper (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); g_test_add_func ("/constraint-solver/paper", constraint_solver_paper); diff --git a/testsuite/gtk/cssprovider.c b/testsuite/gtk/cssprovider.c index 8a2698e1e5..500dfce916 100644 --- a/testsuite/gtk/cssprovider.c +++ b/testsuite/gtk/cssprovider.c @@ -37,7 +37,7 @@ int main (int argc, char *argv[]) { gtk_init (); - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); g_test_add_func ("/cssprovider/section-in-load-from-data", test_section_in_load_from_data); g_test_add_func ("/cssprovider/load-nonexisting-file", test_section_load_nonexisting_file); diff --git a/testsuite/gtk/filter.c b/testsuite/gtk/filter.c index 0d4df1c9d0..07a7bf8e13 100644 --- a/testsuite/gtk/filter.c +++ b/testsuite/gtk/filter.c @@ -396,7 +396,7 @@ test_every_dispose (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); number_quark = g_quark_from_static_string ("Hell and fire was spawned to be released."); diff --git a/testsuite/gtk/filterlistmodel-exhaustive.c b/testsuite/gtk/filterlistmodel-exhaustive.c index 30c01c07a6..b7366f4fb6 100644 --- a/testsuite/gtk/filterlistmodel-exhaustive.c +++ b/testsuite/gtk/filterlistmodel-exhaustive.c @@ -467,7 +467,7 @@ add_test_for_all_models (const char *name, int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); add_test_for_all_models ("no-filter", test_no_filter); diff --git a/testsuite/gtk/filterlistmodel.c b/testsuite/gtk/filterlistmodel.c index 88e32c0fbf..fbcae6b3ad 100644 --- a/testsuite/gtk/filterlistmodel.c +++ b/testsuite/gtk/filterlistmodel.c @@ -379,7 +379,7 @@ test_incremental (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); number_quark = g_quark_from_static_string ("Hell and fire was spawned to be released."); diff --git a/testsuite/gtk/flattenlistmodel.c b/testsuite/gtk/flattenlistmodel.c index a0b0136040..9144eac64a 100644 --- a/testsuite/gtk/flattenlistmodel.c +++ b/testsuite/gtk/flattenlistmodel.c @@ -397,7 +397,7 @@ test_submodel_remove (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); number_quark = g_quark_from_static_string ("Hell and fire was spawned to be released."); diff --git a/testsuite/gtk/main.c b/testsuite/gtk/main.c index 56e6f1e2f1..1a94c43b93 100644 --- a/testsuite/gtk/main.c +++ b/testsuite/gtk/main.c @@ -31,7 +31,7 @@ int main (int argc, char *argv[]) { /* Don't use gtk_test_init here because it implicitly initializes GTK. */ - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); gtk_disable_setlocale(); setlocale (LC_ALL, "C"); diff --git a/testsuite/gtk/maplistmodel.c b/testsuite/gtk/maplistmodel.c index 53cd8a4db3..6e42479624 100644 --- a/testsuite/gtk/maplistmodel.c +++ b/testsuite/gtk/maplistmodel.c @@ -289,7 +289,7 @@ test_set_map_func (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); number_quark = g_quark_from_static_string ("Hell and fire was spawned to be released."); diff --git a/testsuite/gtk/multiselection.c b/testsuite/gtk/multiselection.c index 29ce151c07..bdc896073b 100644 --- a/testsuite/gtk/multiselection.c +++ b/testsuite/gtk/multiselection.c @@ -684,7 +684,7 @@ test_set_model (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=%s"); diff --git a/testsuite/gtk/no-gtk-init.c b/testsuite/gtk/no-gtk-init.c index b7d1be66d7..51ba78acef 100644 --- a/testsuite/gtk/no-gtk-init.c +++ b/testsuite/gtk/no-gtk-init.c @@ -46,7 +46,7 @@ main (int argc, char *argv[]) { /* Keep in sync with gtk_test_init() */ - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); g_setenv ("GTK_MODULES", "", TRUE); setlocale (LC_ALL, "C"); diff --git a/testsuite/gtk/rbtree-crash.c b/testsuite/gtk/rbtree-crash.c index f1394ad773..6e249b7627 100644 --- a/testsuite/gtk/rbtree-crash.c +++ b/testsuite/gtk/rbtree-crash.c @@ -292,7 +292,7 @@ test_crash2 (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); g_test_add_func ("/rbtree/crash", test_crash); diff --git a/testsuite/gtk/rbtree.c b/testsuite/gtk/rbtree.c index 8e783826af..b735b7da47 100644 --- a/testsuite/gtk/rbtree.c +++ b/testsuite/gtk/rbtree.c @@ -514,7 +514,7 @@ int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); g_test_add_func ("/rbtree/create", test_create); diff --git a/testsuite/gtk/revealer-size.c b/testsuite/gtk/revealer-size.c index ca328a9c03..83a64b1f2c 100644 --- a/testsuite/gtk/revealer-size.c +++ b/testsuite/gtk/revealer-size.c @@ -134,7 +134,7 @@ int main (int argc, char **argv) { gtk_init (); - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); g_test_add_func ("/sizing/revealer/slide_right_animations", slide_right_animations); g_test_add_func ("/sizing/revealer/slide_right_no_animations", slide_right_no_animations); diff --git a/testsuite/gtk/scrolledwindow.c b/testsuite/gtk/scrolledwindow.c index 5aaf2d31c2..b606af5e03 100644 --- a/testsuite/gtk/scrolledwindow.c +++ b/testsuite/gtk/scrolledwindow.c @@ -270,7 +270,7 @@ int main (int argc, char **argv) { gtk_init (); - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); g_test_add_func ("/sizing/scrolledwindow/overlay_automatic_width_min", overlay_automatic_width_min); g_test_add_func ("/sizing/scrolledwindow/overlay_automatic_height_min", overlay_automatic_height_min); diff --git a/testsuite/gtk/singleselection.c b/testsuite/gtk/singleselection.c index 84525edb02..88283c36fc 100644 --- a/testsuite/gtk/singleselection.c +++ b/testsuite/gtk/singleselection.c @@ -709,7 +709,7 @@ test_set_model (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); number_quark = g_quark_from_static_string ("Hell and fire was spawned to be released."); diff --git a/testsuite/gtk/slicelistmodel.c b/testsuite/gtk/slicelistmodel.c index 8e1b2a660b..eab5bfec56 100644 --- a/testsuite/gtk/slicelistmodel.c +++ b/testsuite/gtk/slicelistmodel.c @@ -361,7 +361,7 @@ test_bug_skip_amount (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); number_quark = g_quark_from_static_string ("Hell and fire was spawned to be released."); diff --git a/testsuite/gtk/sorter.c b/testsuite/gtk/sorter.c index f639296c3b..ee54ee1edd 100644 --- a/testsuite/gtk/sorter.c +++ b/testsuite/gtk/sorter.c @@ -662,7 +662,7 @@ test_stable (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); number_quark = g_quark_from_static_string ("Like a trashcan fire in a prison cell"); diff --git a/testsuite/gtk/sortlistmodel-exhaustive.c b/testsuite/gtk/sortlistmodel-exhaustive.c index 4b8e2bacbb..76aa8bfa2f 100644 --- a/testsuite/gtk/sortlistmodel-exhaustive.c +++ b/testsuite/gtk/sortlistmodel-exhaustive.c @@ -455,7 +455,7 @@ add_test_for_all_models (const char *name, int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); add_test_for_all_models ("two-sorters", test_two_sorters); diff --git a/testsuite/gtk/sortlistmodel.c b/testsuite/gtk/sortlistmodel.c index a9dd16b6a4..515d7a2e10 100644 --- a/testsuite/gtk/sortlistmodel.c +++ b/testsuite/gtk/sortlistmodel.c @@ -537,7 +537,7 @@ test_out_of_bounds_access (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); number_quark = g_quark_from_static_string ("Hell and fire was spawned to be released."); diff --git a/testsuite/gtk/stringlist.c b/testsuite/gtk/stringlist.c index 90c8fb388a..cf163b8845 100644 --- a/testsuite/gtk/stringlist.c +++ b/testsuite/gtk/stringlist.c @@ -245,7 +245,7 @@ test_take (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); changes_quark = g_quark_from_static_string ("What did I see? Can I believe what I saw?"); diff --git a/testsuite/gtk/theme-validate.c b/testsuite/gtk/theme-validate.c index e2e51e5852..5e7669c9fa 100644 --- a/testsuite/gtk/theme-validate.c +++ b/testsuite/gtk/theme-validate.c @@ -50,7 +50,7 @@ main (int argc, char *argv[]) guint i; gtk_init (); - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); for (i = 0; i < G_N_ELEMENTS (themes); i++) { diff --git a/testsuite/gtk/timsort.c b/testsuite/gtk/timsort.c index 17a7b40751..d8aba88698 100644 --- a/testsuite/gtk/timsort.c +++ b/testsuite/gtk/timsort.c @@ -245,7 +245,7 @@ test_steps (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); g_test_add_func ("/timsort/integers", test_integers); diff --git a/testsuite/gtk/treelistmodel.c b/testsuite/gtk/treelistmodel.c index 30882592c4..0ea7a37b6c 100644 --- a/testsuite/gtk/treelistmodel.c +++ b/testsuite/gtk/treelistmodel.c @@ -255,7 +255,7 @@ test_remove_some (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); number_quark = g_quark_from_static_string ("Hell and fire was spawned to be released."); diff --git a/testsuite/gtk/treesorter.c b/testsuite/gtk/treesorter.c index 9a56a68cf2..ca4245a095 100644 --- a/testsuite/gtk/treesorter.c +++ b/testsuite/gtk/treesorter.c @@ -251,7 +251,7 @@ test_compare_no_order (void) int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); setlocale (LC_ALL, "C"); number_quark = g_quark_from_static_string ("Like a trashcan fire in a prison cell"); diff --git a/testsuite/gtk/typename.c b/testsuite/gtk/typename.c index 1b357b67dc..39776c660a 100644 --- a/testsuite/gtk/typename.c +++ b/testsuite/gtk/typename.c @@ -69,7 +69,7 @@ static void test_GThemedIcon (void) { check ("GThemedIcon", "gthemed_icon_ge int main (int argc, char *argv[]) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); g_test_add_func ("/builder/get-type/GtkWindow", test_GtkWindow); g_test_add_func ("/builder/get-type/GtkHBox", test_GtkHBox); diff --git a/testsuite/gtk/widget-refcount.c b/testsuite/gtk/widget-refcount.c index ba8dd0a702..cebd30982a 100644 --- a/testsuite/gtk/widget-refcount.c +++ b/testsuite/gtk/widget-refcount.c @@ -89,7 +89,7 @@ window (void) int main (int argc, char **argv) { - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); gtk_init (); g_test_add_func ("/gtk/widget-refcount/popover", popover); diff --git a/testsuite/gtk/widgetorder.c b/testsuite/gtk/widgetorder.c index c81d73ff42..94cbedfc67 100644 --- a/testsuite/gtk/widgetorder.c +++ b/testsuite/gtk/widgetorder.c @@ -586,7 +586,7 @@ int main (int argc, char **argv) { gtk_init (); - g_test_init (&argc, &argv, NULL); + (g_test_init) (&argc, &argv, NULL); g_test_add_func ("/widgetorder/simple", simple); g_test_add_func ("/widgetorder/two", two);