mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
remove extra condition
This commit is contained in:
parent
30a8f2617e
commit
527738a1c7
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue