From 24bd92d3ae8e7831bd15d50d45383cc700e510de Mon Sep 17 00:00:00 2001 From: Pablo Saavedra Date: Thu, 26 Oct 2023 22:33:53 +0200 Subject: [PATCH] core: Re-add the early return in cog_platform_init_web_view() ... if class defines both .get_view_type and .init_web_view. This brings again the change reverted in "wl: Remove early return on cog_platform_init_web_view()". --- core/cog-platform.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/cog-platform.c b/core/cog-platform.c index 6f84ae37..ba651e54 100644 --- a/core/cog-platform.c +++ b/core/cog-platform.c @@ -128,6 +128,7 @@ cog_platform_init_web_view (CogPlatform *platform, g_warning_once("%s: class %s defines both .get_view_type and .init_web_view, " "the latter should be removed.", G_STRFUNC, G_OBJECT_CLASS_NAME(platform)); + return; } klass->init_web_view(platform, view);