Browse Source

remove extra condition

PHP-GTK3
yggverse 4 months ago
parent
commit
527738a1c7
  1. 2
      src/Abstract/Entity/Button.php

2
src/Abstract/Entity/Button.php

@ -16,7 +16,7 @@ abstract class Button @@ -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(

Loading…
Cancel
Save