diff options
author | Benjamin Otte <otte@redhat.com> | 2018-06-19 16:47:36 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-06-19 19:44:17 +0200 |
commit | 4d4ec2dbfb809db6fab0aee3dbdb7b41f07c3ec7 (patch) | |
tree | d9ac2c22d293206340fbb92d73960b64f439dc0b | |
parent | 87532f0ac38adeb05330d012bdeee856be5db1a0 (diff) | |
download | gtk+-4d4ec2dbfb809db6fab0aee3dbdb7b41f07c3ec7.tar.gz |
dnd: gdk_drag_action_is_unique() should return a boolean
-rw-r--r-- | gdk/gdkdnd.c | 2 | ||||
-rw-r--r-- | 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 */ |