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
This commit is contained in:
Caolán McNamara 2020-05-09 17:58:01 +01:00 committed by Justin Luth
parent b4f398db74
commit 2cede1e89a

View file

@ -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
{