From 70d43f633119a5a03da9571987d12a276787f1c3 Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Tue, 14 Jun 2011 07:15:33 +0000 Subject: Fix libnotify API --- perl-install/ugtk2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/ugtk2.pm') diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 05e361253..5199068e5 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -1605,7 +1605,7 @@ sub add { sub show { my ($self) = @_; # perl_checker: $self = Gtk2::Notify->new my $info = $self->{queue}[0]; - my $notification = Gtk2::Notify->new_with_status_icon($info->{title}, $info->{message}, undef, $self->{statusicon}); + my $notification = Gtk2::Notify->new($info->{title}, $info->{message}, $self->{statusicon}); $notification->set_icon_from_pixbuf($info->{pixbuf}); $notification->set_urgency($info->{urgency}) if $info->{urgency}; foreach my $a (@{$info->{actions} || []}) { -- cgit v1.2.1