diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-09 17:58:01 +0100 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2020-05-11 20:30:29 +0200 |
commit | 2cede1e89aefbb8df3ae86a85e7770cfc176aab0 (patch) | |
tree | cb7f83105183b90f25e68901f651ce625f4a1754 /vcl | |
parent | b4f398db743213e80ecceab97a2dcb01b465b3b9 (diff) |
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@sil.org>
Tested-by: Jenkins
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/unx/gtk/gtkframe.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
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 { |