From f1efadafd12954cbc0b46148577690f5c4f93ec8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 7 Nov 2013 14:36:19 +0100 Subject: fix setting exceptions handler for Gtk3 rationale: whereas Glib's gtk_main() was called smoothly by Gtk2's XS, Gtk3 goes through Glib::Object::Introspection->invoke() which goes directly to the typelib... we thus needs to ask Gtk3 to overrides Gtk3->main --- perl-install/mygtk3.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm index 726524032..6c28c43ed 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_exceptions3; + Gtk3->enable_exceptions; } init() unless $::no_ugtk_init; -Glib->enable_exceptions3 if $::isInstall; +Gtk3->enable_exceptions if $::isInstall; -- cgit v1.2.1