projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87532f0
)
dnd: gdk_drag_action_is_unique() should return a boolean
author
Benjamin Otte
<otte@redhat.com>
Tue, 19 Jun 2018 14:47:36 +0000
(16:47 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Tue, 19 Jun 2018 17:44:17 +0000
(19:44 +0200)
gdk/gdkdnd.c
patch
|
blob
|
history
gdk/gdkdnd.h
patch
|
blob
|
history
diff --git
a/gdk/gdkdnd.c
b/gdk/gdkdnd.c
index 9380172f744b32d09ad39a3cfa70e501f0a2678a..bf42a561f5f67111899b6c27ef28298fc3632515 100644
(file)
--- 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
**/
-
GdkDragActio
n
+
gboolea
n
gdk_drag_action_is_unique (GdkDragAction action)
{
return (action & (action - 1)) == 0;
diff --git
a/gdk/gdkdnd.h
b/gdk/gdkdnd.h
index 47de1cb3f23b33a2926b753d569e9c82da21438d..caf79151bbc03317619fc0ae60153fc02ca9d62d 100644
(file)
--- 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 */