From 8cee147413bbe112f9adb457a32682802c93967d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Timm?= Date: Mon, 4 Dec 2006 15:32:42 +0000 Subject: [PATCH] INTEGRATION: CWS vcl69 (1.17.30); FILE MERGED 2006/11/21 16:31:33 pl 1.17.30.1: #i70782# workaround deadlock (thanks cmc) --- fpicker/source/unx/gnome/SalGtkFilePicker.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx index b31140bb2bcc..fa306e1bf8eb 100644 --- a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx +++ b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx @@ -4,9 +4,9 @@ * * $RCSfile: SalGtkFilePicker.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: obo $ $Date: 2006-09-16 17:52:09 $ + * last change: $Author: rt $ $Date: 2006-12-04 16:32:42 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1092,7 +1092,9 @@ sal_Int16 SAL_CALL SalGtkFilePicker::execute() throw( uno::RuntimeException ) OUStringToOString(aResProvider.getResString(FILE_PICKER_TITLE_SAVE ), RTL_TEXTENCODING_UTF8 ).getStr() ); - btn = gtk_dialog_run( GTK_DIALOG( dlg ) ); + RunDialog aAnotherRunInMain(dlg); + btn = aAnotherRunInMain.runandwaitforresult(); + gtk_widget_destroy( dlg ); }