From 4d4ec2dbfb809db6fab0aee3dbdb7b41f07c3ec7 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 19 Jun 2018 16:47:36 +0200 Subject: [PATCH] dnd: gdk_drag_action_is_unique() should return a boolean --- gdk/gdkdnd.c | 2 +- gdk/gdkdnd.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c index 9380172f74..bf42a561f5 100644 --- a/gdk/gdkdnd.c +++ b/gdk/gdkdnd.c @@ -761,7 +761,7 @@ gdk_drag_get_cursor (GdkDragContext *context, * * Returns: %TRUE if exactly one action was given **/ -GdkDragAction +gboolean gdk_drag_action_is_unique (GdkDragAction action) { return (action & (action - 1)) == 0; diff --git a/gdk/gdkdnd.h b/gdk/gdkdnd.h index 47de1cb3f2..caf79151bb 100644 --- a/gdk/gdkdnd.h +++ b/gdk/gdkdnd.h @@ -73,7 +73,7 @@ GDK_AVAILABLE_IN_ALL GdkDragAction gdk_drag_context_get_selected_action (GdkDragContext *context); GDK_AVAILABLE_IN_ALL -GdkDragAction gdk_drag_action_is_unique (GdkDragAction action); +gboolean gdk_drag_action_is_unique (GdkDragAction action); /* Source side */ -- 2.30.2