From 527738a1c7f12ca7c523c02d62788905470a4d0d Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 22 Jul 2024 14:25:22 +0300 Subject: [PATCH] remove extra condition --- src/Abstract/Entity/Button.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Abstract/Entity/Button.php b/src/Abstract/Entity/Button.php index a51d5e0c..c7d4cd28 100644 --- a/src/Abstract/Entity/Button.php +++ b/src/Abstract/Entity/Button.php @@ -16,7 +16,7 @@ abstract class Button { $this->gtk = new \GtkButton; - if ($this::IMAGE && \GtkIconTheme::get_default()->has_icon($this::IMAGE)) + if (\GtkIconTheme::get_default()->has_icon($this::IMAGE)) { $this->gtk->set_image( \GtkImage::new_from_icon_name(