From 0df252817e46ce94376672752b1244f0e3fc53ec Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Fri, 26 Jan 2024 22:00:39 +0200 Subject: [PATCH] Fix args check inside gtk_mixer_tray_icon_scroll() --- src/gtk-mixer-tray_icon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gtk-mixer-tray_icon.c b/src/gtk-mixer-tray_icon.c index a0ae51e..bc1e69c 100644 --- a/src/gtk-mixer-tray_icon.c +++ b/src/gtk-mixer-tray_icon.c @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2021-2023 Rozhuk Ivan + * Copyright (c) 2021-2024 Rozhuk Ivan * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -53,6 +53,7 @@ gtk_mixer_tray_icon_scroll(GtkStatusIcon *status_icon, if (NULL == tray_icon || NULL == tray_icon->dev_line) + return (FALSE); if (0 != tray_icon->dev_line->is_read_only) return (FALSE);