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

Caolán McNamara caolanm at redhat.com
Thu Jun 25 12:22:42 PDT 2015


 vcl/unx/gtk/window/gtksalframe.cxx |   13 +++++++++++++
 1 file changed, 13 insertions(+)

New commits:
commit 6a01c78435c4237e8702966d30de2a47b58e7620
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jun 25 20:21:46 2015 +0100

    these ancient baselines are breaking my spirit
    
    Change-Id: I96dbe2c1213c78da1114f9270953334a38c7b2ae

diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx
index 8edaedc..94bdbce 100644
--- a/vcl/unx/gtk/window/gtksalframe.cxx
+++ b/vcl/unx/gtk/window/gtksalframe.cxx
@@ -2875,6 +2875,19 @@ void GtkSalFrame::Sync()
     gdk_display_sync( getGdkDisplay() );
 }
 
+#ifndef GDK_Open
+#define GDK_Open 0x1008ff6b
+#endif
+#ifndef GDK_Paste
+#define GDK_Paste 0x1008ff6d
+#endif
+#ifndef GDK_Copy
+#define GDK_Copy 0x1008ff57
+#endif
+#ifndef GDK_Cut
+#define GDK_Cut 0x1008ff58
+#endif
+
 void GtkSalFrame::KeyCodeToGdkKey(const vcl::KeyCode& rKeyCode,
     guint* pGdkKeyCode, GdkModifierType *pGdkModifiers)
 {


More information about the Libreoffice-commits mailing list