From 951438c967ed3e46171015dc65918ed55f9c17c6 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 10 Mar 2010 14:40:41 +0000 Subject: [PATCH] Add a hack to remove the about dialog. --- techtalk-pse.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/techtalk-pse.pl b/techtalk-pse.pl index 6bd310f..84f83e8 100755 --- a/techtalk-pse.pl +++ b/techtalk-pse.pl @@ -256,6 +256,11 @@ if ($splash) { $w->run; print STDERR "calling \$w->destroy on about dialog\n" if $verbose; $w->destroy; + + # The dialog doesn't really get destroyed here. We have + # to add this hack to really destroy it. + Glib::Idle->add (sub { Gtk2->main_quit; return FALSE; }); + Gtk2->main; } MAIN: while (1) { -- 1.8.3.1