Kaydet (Commit) 12b3f6a9 authored tarafından Michael Meeks's avatar Michael Meeks

gtk3: add some missing SolarMutexGuards (thanks to mst for noticing)

üst a07e8231
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include "precompiled_vcl.hxx" #include "precompiled_vcl.hxx"
#include <unx/gtk/gtkframe.hxx> #include <unx/gtk/gtkframe.hxx>
#include <vcl/svapp.hxx>
#include <vcl/window.hxx> #include <vcl/window.hxx>
#include "vcl/popupmenuwindow.hxx" #include "vcl/popupmenuwindow.hxx"
...@@ -131,6 +132,7 @@ init_from_window( AtkObject *accessible, Window *pWindow ) ...@@ -131,6 +132,7 @@ init_from_window( AtkObject *accessible, Window *pWindow )
static gint static gint
ooo_window_wrapper_clear_focus(gpointer) ooo_window_wrapper_clear_focus(gpointer)
{ {
SolarMutexGuard aGuard;
atk_focus_tracker_notify( NULL ); atk_focus_tracker_notify( NULL );
return FALSE; return FALSE;
} }
......
...@@ -880,6 +880,7 @@ gboolean GtkData::userEventFn( gpointer data ) ...@@ -880,6 +880,7 @@ gboolean GtkData::userEventFn( gpointer data )
extern "C" { extern "C" {
static gboolean call_userEventFn( void *data ) static gboolean call_userEventFn( void *data )
{ {
SolarMutexGuard aGuard;
return GtkData::userEventFn( data ); return GtkData::userEventFn( data );
} }
} }
......
...@@ -3219,6 +3219,8 @@ gboolean GtkSalFrame::signalFocus( GtkWidget*, GdkEventFocus* pEvent, gpointer f ...@@ -3219,6 +3219,8 @@ gboolean GtkSalFrame::signalFocus( GtkWidget*, GdkEventFocus* pEvent, gpointer f
extern "C" { extern "C" {
gboolean implDelayedFullScreenHdl (void *pWindow) gboolean implDelayedFullScreenHdl (void *pWindow)
{ {
SolarMutexGuard aGuard;
/* #i110881# workaround a gtk issue (see /* #i110881# workaround a gtk issue (see
https://bugzilla.redhat.com/show_bug.cgi?id=623191#c8) https://bugzilla.redhat.com/show_bug.cgi?id=623191#c8)
gtk_window_fullscreen can fail due to a race condition, gtk_window_fullscreen can fail due to a race condition,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment