mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-15 02:00:20 +00:00
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:
@@ -702,6 +702,10 @@ static gboolean gtk3_theme_provider_dark = FALSE;
|
|||||||
static GResource *gtk3_theme_resource = NULL;
|
static GResource *gtk3_theme_resource = NULL;
|
||||||
static char *gtk3_theme_resource_path = NULL;
|
static char *gtk3_theme_resource_path = NULL;
|
||||||
|
|
||||||
|
#ifdef G_OS_WIN32
|
||||||
|
static void fe_apply_windows_theme (gboolean dark);
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
fe_gtk3_theme_unregister_resource (void)
|
fe_gtk3_theme_unregister_resource (void)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user