diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | gurpmi2 | 7 |
2 files changed, 7 insertions, 1 deletions
@@ -3,6 +3,7 @@ progress & errors o enhanced doc - gurpmi: + o support other distros which do not handle exceptions in gtk+ callbacks o use new exception management Version 7.19 - 9 February 2013, by Thierry Vignaud @@ -30,7 +30,12 @@ our $test = 0; our $use_provides = 1; my $progressbar_size = 450; -Glib->enable_exceptions2; + +# For other distros w/o exception support: +eval { Glib->enable_exceptions2 }; +if (my $err = $@) { + warn "Error: $err\n"; +} #- GUI globals my ($mainw, $mainbox); |