[Libreoffice-commits] core.git: vcl/unx

Tor Lillqvist tml at collabora.com
Thu May 19 11:13:10 UTC 2016


 vcl/unx/gtk3/gtk3gtkobject.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6a20f95fc9912f54f5817119749940d5dcf4fe90
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu May 19 14:08:15 2016 +0300

    loplugin:staticcall
    
    Change-Id: I6702cd329aa5931f3edbf67257f4b7db79000f32

diff --git a/vcl/unx/gtk3/gtk3gtkobject.cxx b/vcl/unx/gtk3/gtk3gtkobject.cxx
index 1c51b11..b57c4dc 100644
--- a/vcl/unx/gtk3/gtk3gtkobject.cxx
+++ b/vcl/unx/gtk3/gtk3gtkobject.cxx
@@ -60,7 +60,7 @@ GtkSalObject::GtkSalObject( GtkSalFrame* pParent, bool bShow )
         m_aSystemData.nDepth = gdk_visual_get_depth(pVisual);
 
 #if defined(GDK_WINDOWING_X11)
-        GdkDisplay *pDisplay = pParent->getGdkDisplay();
+        GdkDisplay *pDisplay = GtkSalFrame::getGdkDisplay();
         if (GDK_IS_X11_DISPLAY(pDisplay))
         {
             m_aSystemData.pDisplay = gdk_x11_display_get_xdisplay(pDisplay);


More information about the Libreoffice-commits mailing list