diff options
author | Ryan McCoskrie <ryan.mccoskrie@gmail.com> | 2015-09-10 10:17:35 +1200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-10-30 20:07:19 +0000 |
commit | d77af785f962efa6f783a5106671d608c313f853 (patch) | |
tree | 0d0eac4cf047113f152dd6f2c450992c34f4fa54 /vcl/unx | |
parent | a461ab5fd60068202189a2f426490b95b68efa3c (diff) |
tdf#93684 - Remove SalFrame::Sync
Change-Id: Icae9cf0a17f9cdf9a671c7e7278019d6980602b1
Reviewed-on: https://gerrit.libreoffice.org/18453
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/window/salframe.cxx | 5 | ||||
-rw-r--r-- | vcl/unx/gtk/window/gtkobject.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/window/gtksalframe.cxx | 5 |
3 files changed, 1 insertions, 11 deletions
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx index 4be20a723b8b..0b55e286acb5 100644 --- a/vcl/unx/generic/window/salframe.cxx +++ b/vcl/unx/generic/window/salframe.cxx @@ -2289,11 +2289,6 @@ void X11SalFrame::Flush() XFlush( GetDisplay()->GetDisplay() ); } -void X11SalFrame::Sync() -{ - XSync( GetDisplay()->GetDisplay(), False ); -} - // Keyboard void X11SalFrame::SetInputContext( SalInputContext* pContext ) diff --git a/vcl/unx/gtk/window/gtkobject.cxx b/vcl/unx/gtk/window/gtkobject.cxx index 3de060bdc843..463c3c1ff486 100644 --- a/vcl/unx/gtk/window/gtkobject.cxx +++ b/vcl/unx/gtk/window/gtkobject.cxx @@ -78,7 +78,7 @@ GtkSalObject::GtkSalObject( GtkSalFrame* pParent, bool bShow ) g_signal_connect( G_OBJECT(m_pSocket), "destroy", G_CALLBACK(signalDestroy), this ); // #i59255# necessary due to sync effects with java child windows - pParent->Sync(); + pParent->Flush(); } } diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx index 95a33f0db29b..3e0749fd0d0d 100644 --- a/vcl/unx/gtk/window/gtksalframe.cxx +++ b/vcl/unx/gtk/window/gtksalframe.cxx @@ -2642,11 +2642,6 @@ void GtkSalFrame::Flush() #endif } -void GtkSalFrame::Sync() -{ - gdk_display_sync( getGdkDisplay() ); -} - #ifndef GDK_Open #define GDK_Open 0x1008ff6b #endif |