From 3445d946bc6b54717bbcac6fdc28028306fa5b00 Mon Sep 17 00:00:00 2001 From: deepend Date: Wed, 25 Feb 2026 18:05:21 -0700 Subject: [PATCH] Removed a redundant inline comment in icon loading/scaling logic, leaving behavior unchanged. Removed a redundant inline comment in the Windows sysinfo volume-name guard path, with no functional impact. Removed a redundant inline comment in WinRT toast setup while keeping the same notification/audio attribute behavior. --- src/common/sysinfo/win32/backend.c | 1 - src/fe-gtk/notifications/notification-winrt.cpp | 1 - src/fe-gtk/pixmaps.c | 1 - 3 files changed, 3 deletions(-) diff --git a/src/common/sysinfo/win32/backend.c b/src/common/sysinfo/win32/backend.c index b2ed3ab8..37f003d2 100644 --- a/src/common/sysinfo/win32/backend.c +++ b/src/common/sysinfo/win32/backend.c @@ -465,7 +465,6 @@ static char *read_hdd_info (IWbemClassObject *object) if (name_len >= 4 && name_bstr[0] == L'\\' && name_bstr[1] == L'\\' && name_bstr[2] == L'?' && name_bstr[3] == L'\\') { - // This is not a named volume. Skip it. VariantClear (&name_variant); return NULL; diff --git a/src/fe-gtk/notifications/notification-winrt.cpp b/src/fe-gtk/notifications/notification-winrt.cpp index bb537c1f..1ed1c5f2 100644 --- a/src/fe-gtk/notifications/notification-winrt.cpp +++ b/src/fe-gtk/notifications/notification-winrt.cpp @@ -66,7 +66,6 @@ extern "C" node_list->GetAt (1)->AppendChild ( toastTemplate->CreateTextNode (Platform::StringReference (wtext.c_str (), wtext.size ()))); - // Mute sound, we already play our own auto node = toastTemplate->SelectSingleNode (L"/toast"); auto audio_elem = toastTemplate->CreateElement (L"audio"); audio_elem->SetAttribute (L"silent", L"true"); diff --git a/src/fe-gtk/pixmaps.c b/src/fe-gtk/pixmaps.c index 132fc325..7151e65f 100644 --- a/src/fe-gtk/pixmaps.c +++ b/src/fe-gtk/pixmaps.c @@ -168,7 +168,6 @@ load_pixmap (const char *filename) g_free (path); } - // Hack to avoid unbearably tiny icons on HiDPI screens. scale = g_getenv ("GDK_SCALE"); if (scale) {