summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 5199068e5..b36927411 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -1606,7 +1606,7 @@ sub show {
my ($self) = @_; # perl_checker: $self = Gtk2::Notify->new
my $info = $self->{queue}[0];
my $notification = Gtk2::Notify->new($info->{title}, $info->{message}, $self->{statusicon});
- $notification->set_icon_from_pixbuf($info->{pixbuf});
+ $notification->set_icon_from_pixbuf($info->{pixbuf}) if $info->{pixbuf};
$notification->set_urgency($info->{urgency}) if $info->{urgency};
foreach my $a (@{$info->{actions} || []}) {
$notification->add_action(