[gtk] dnd: gdk_drag_action_is_unique() should return a boolean



commit 4d4ec2dbfb809db6fab0aee3dbdb7b41f07c3ec7
Author: Benjamin Otte <otte redhat com>
Date:   Tue Jun 19 16:47:36 2018 +0200

    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 */
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]