From 52a8335b44d07c564151a9ad24eecedd33883751 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 22 Nov 2013 15:23:16 +0100 Subject: set_url_hook() & set_email_hook() no more exists --- perl-install/mygtk3.pm | 8 -------- 1 file changed, 8 deletions(-) (limited to 'perl-install/mygtk3.pm') diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm index 3be95eae0..16988905a 100644 --- a/perl-install/mygtk3.pm +++ b/perl-install/mygtk3.pm @@ -1023,14 +1023,6 @@ sub _gtk__AboutDialog { $w->set_icon(gtknew('Pixbuf', file => delete $opts->{icon})) if exists $opts->{icon}; $w->set_logo(gtknew('Pixbuf', file => delete $opts->{logo})) if exists $opts->{logo}; $w->set_copyright(delete $opts->{copyright}) if exists $opts->{copyright}; - $w->set_url_hook(sub { - my (undef, $url) = @_; - run_program::raw({ detach => 1 }, 'www-browser', $url); - }); - $w->set_email_hook(sub { - my (undef, $url) = @_; - run_program::raw({ detach => 1 }, 'www-browser', $url); - }); if (my $url = delete $opts->{website}) { $url =~ s/^https:/http:/; # Gtk3::About doesn't like "https://..." like URLs -- cgit v1.2.1