[Libreoffice-commits] .: Branch 'libreoffice-3-4' - vcl/unx

Petr Mladek pmladek at kemper.freedesktop.org
Fri Apr 15 08:51:25 PDT 2011


 vcl/unx/gtk/app/gtkdata.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit a7289e0659b041580c89908c936222d3cff4319d
Author: Radek Doulik <rodo at novell.com>
Date:   Fri Apr 15 17:50:50 2011 +0200

    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

diff --git a/vcl/unx/gtk/app/gtkdata.cxx b/vcl/unx/gtk/app/gtkdata.cxx
index 64e8641..98fd914 100644
--- a/vcl/unx/gtk/app/gtkdata.cxx
+++ b/vcl/unx/gtk/app/gtkdata.cxx
@@ -568,6 +568,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 Libreoffice-commits mailing list