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

Caolán McNamara caolanm at redhat.com
Mon Apr 16 19:52:28 UTC 2018


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

New commits:
commit 00c317da4b50db8793c4d7a2e70084b716d75735
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Apr 16 14:03:36 2018 +0100

    tdf#117034 right click crash
    
    Change-Id: I91aa9f24904948987f31c9df5211c694f943188e
    Reviewed-on: https://gerrit.libreoffice.org/52976
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 5ce77bea39fa..183d61075b18 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -1573,7 +1573,7 @@ public:
             nTime = GtkSalFrame::GetLastInputEventTime();
         }
 
-        gtk_menu_popup(GTK_MENU(pWidget), nullptr, nullptr, nullptr, nullptr, nButton, nTime);
+        gtk_menu_popup(m_pMenu, nullptr, nullptr, nullptr, nullptr, nButton, nTime);
 #endif
 
         if (g_main_loop_is_running(pLoop))


More information about the Libreoffice-commits mailing list