[ooo-build-commit] .: patches/dev300

Radek Doulík rodo at kemper.freedesktop.org
Tue Mar 2 07:08:10 PST 2010


 patches/dev300/apply                               |    1 +
 patches/dev300/vcl-gtk-process-events-on-exit.diff |   11 +++++++++++
 2 files changed, 12 insertions(+)

New commits:
commit 87f9e5c07a572c16ff5c78a8c61b4121f94092be
Author: Radek Doulik <rodo at novell.com>
Date:   Tue Mar 2 16:07:56 2010 +0100

    process glib events on exit
    
     - so that waiting asynchronous events are not discarded
     - helps with updating recently-used.xbel (recently used files in bookmarks format) and possibly with other things
    
    * patches/dev300/apply:
    * patches/dev300/vcl-gtk-process-events-on-exit.diff:

diff --git a/patches/dev300/apply b/patches/dev300/apply
index dff32d3..78bcdfa 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -3637,6 +3637,7 @@ svx-textpropreader-limit-fix.diff, thorsten
 vcl-xinerama-clone-fix.diff, n#578730, thorsten
 basegfx-colorspace-fix.diff, i#109364, thorsten
 vbahelper-optionality-fix.diff, i#108853, ericb
+vcl-gtk-process-events-on-exit.diff, rodo
 
 [ Toolbars ]
 SectionOwner => cbosdo
diff --git a/patches/dev300/vcl-gtk-process-events-on-exit.diff b/patches/dev300/vcl-gtk-process-events-on-exit.diff
new file mode 100644
index 0000000..7803621
--- /dev/null
+++ b/patches/dev300/vcl-gtk-process-events-on-exit.diff
@@ -0,0 +1,11 @@
+diff -rup vcl-orig-1/unx/gtk/app/gtkdata.cxx vcl/unx/gtk/app/gtkdata.cxx
+--- vcl-orig-1/unx/gtk/app/gtkdata.cxx	2010-03-01 21:34:40.000000000 +0100
++++ vcl/unx/gtk/app/gtkdata.cxx	2010-03-02 11:17:00.000000000 +0100
+@@ -554,6 +554,7 @@ GtkXLib::~GtkXLib()
+ #if OSL_DEBUG_LEVEL > 1
+     fprintf( stderr, "GtkXLib::~GtkXLib()\n" );
+ #endif
++    Yield( true, true );
+     StopTimer();
+      // sanity check: at this point nobody should be yielding, but wake them
+      // up anyway before the condition they're waiting on gets destroyed.


More information about the ooo-build-commit mailing list