Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37512784
en ru br
Репозитории ALT

Группа :: Сети/WWW
Пакет: firefox-esr

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: rhbz-1291190-appchooser-crash.patch
Скачать


diff -up firefox-46.0.1/widget/gtk/nsApplicationChooser.cpp.appchooser-crash firefox-46.0.1/widget/gtk/nsApplicationChooser.cpp
--- firefox-46.0.1/widget/gtk/nsApplicationChooser.cpp.appchooser-crash	2016-05-03 07:31:12.000000000 +0200
+++ firefox-46.0.1/widget/gtk/nsApplicationChooser.cpp	2016-05-12 12:17:44.043729262 +0200
@@ -112,7 +112,9 @@ void nsApplicationChooser::Done(GtkWidge
 
   // A "response" signal won't be sent again but "destroy" will be.
   g_signal_handlers_disconnect_by_func(chooser, FuncToGpointer(OnDestroy), this);
-  gtk_widget_destroy(chooser);
+  // GTK >= 3.18 has a problem with destroying dialog at this stage for some reason.
+  // We're going to hide the dialog in this case as a workaround.
+  gtk_widget_hide(chooser);
 
   if (mCallback) {
     mCallback->Done(localHandler);
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin