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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon May 11 18:31:02 UTC 2020


 vcl/inc/unx/gtk/gtkframe.hxx |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit 2cede1e89aefbb8df3ae86a85e7770cfc176aab0
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat May 9 17:58:01 2020 +0100
Commit:     Justin Luth <justin_luth at sil.org>
CommitDate: Mon May 11 20:30:29 2020 +0200

    GdkDragCancelReason wasn't exposed before gtk 3.20.0
    
    Change-Id: I63deca16ab938e340c03450e2f75054def94569f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93869
    Reviewed-by: Justin Luth <justin_luth at sil.org>
    Tested-by: Jenkins

diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx
index e8a76758a959..3d4c803ff5be 100644
--- a/vcl/inc/unx/gtk/gtkframe.hxx
+++ b/vcl/inc/unx/gtk/gtkframe.hxx
@@ -532,6 +532,15 @@ AtkObject* ooo_fixed_get_accessible(GtkWidget *obj);
 
 } // extern "C"
 
+#if !GTK_CHECK_VERSION(3, 20, 0)
+enum GdkDragCancelReason
+{
+  GDK_DRAG_CANCEL_NO_TARGET,
+  GDK_DRAG_CANCEL_USER_CANCELLED,
+  GDK_DRAG_CANCEL_ERROR
+};
+#endif
+
 #if !GTK_CHECK_VERSION(3, 22, 0)
 enum GdkAnchorHints
 {


More information about the Libreoffice-commits mailing list