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