summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk3.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2012-08-01 17:21:59 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 21:28:33 +0100
commit79cb62fd07a91454fe57edfba3b00833a8a19bf6 (patch)
tree7bbf69cb937e03c135751db0f1233aa94bd1f1b2 /perl-install/mygtk3.pm
parentb9e700aea8f8dfae031d9ff923f00393b052fd3d (diff)
downloaddrakx-79cb62fd07a91454fe57edfba3b00833a8a19bf6.tar
drakx-79cb62fd07a91454fe57edfba3b00833a8a19bf6.tar.gz
drakx-79cb62fd07a91454fe57edfba3b00833a8a19bf6.tar.bz2
drakx-79cb62fd07a91454fe57edfba3b00833a8a19bf6.tar.xz
drakx-79cb62fd07a91454fe57edfba3b00833a8a19bf6.zip
tell Glib to use gtk+-3 in order to handle exceptions in callbacks
Diffstat (limited to 'perl-install/mygtk3.pm')
-rw-r--r--perl-install/mygtk3.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm
index b4e3522f5..73520316e 100644
--- a/perl-install/mygtk3.pm
+++ b/perl-install/mygtk3.pm
@@ -22,10 +22,10 @@ sub init() {
if_($::isRestore, 'draksnapshot'), if_($::isInstall, 'urpmi'),
'drakx-net', 'drakx-kbd-mouse-x11', # shared translation
@::textdomains;
- Glib->enable_exceptions2;
+ Glib->enable_exceptions3;
}
init() unless $::no_ugtk_init;
-Glib->enable_exceptions2 if $::isInstall;
+Glib->enable_exceptions3 if $::isInstall;