mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 06:10:21 +00:00
Merge branch 'reftest-msvc' into 'main'
reftest-snapshot.c: Fix running reftests on Visual Studio See merge request GNOME/gtk!5937
This commit is contained in:
commit
661022f2eb
@ -67,7 +67,13 @@ reftest_scope_create_closure (GtkBuilderScope *scope,
|
||||
break;
|
||||
|
||||
case 2:
|
||||
#ifdef _MSC_VER
|
||||
char *modulefile = g_strconcat (split[0], ".", G_MODULE_SUFFIX, NULL);
|
||||
module = reftest_module_new (self->directory, modulefile);
|
||||
g_free (modulefile);
|
||||
#else
|
||||
module = reftest_module_new (self->directory, split[0]);
|
||||
#endif
|
||||
if (module == NULL)
|
||||
{
|
||||
g_set_error (error,
|
||||
|
Loading…
Reference in New Issue
Block a user