Added a Win32-only forward declaration for fe_apply_windows_theme(gboolean dark) before its first use so MSVC sees the correct signature and no longer infers an int return type. This addresses the C4013 + C2371 sequence from your build log.

This commit is contained in:
2026-02-26 11:10:33 -07:00
parent f3213c56eb
commit e8dbe06f01

View File

@@ -702,6 +702,10 @@ static gboolean gtk3_theme_provider_dark = FALSE;
static GResource *gtk3_theme_resource = NULL;
static char *gtk3_theme_resource_path = NULL;
#ifdef G_OS_WIN32
static void fe_apply_windows_theme (gboolean dark);
#endif
static void
fe_gtk3_theme_unregister_resource (void)
{