[gnome-builder] gstyle: fix dnd logical error
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] gstyle: fix dnd logical error
- Date: Thu, 8 Feb 2018 19:27:11 +0000 (UTC)
commit 4ed79ded706cbfc7079fdce588a2794603985c6b
Author: Sebastien Lafargue <slafargue gnome org>
Date: Thu Feb 8 17:58:38 2018 +0100
gstyle: fix dnd logical error
src/gstyle/gstyle-color-widget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gstyle/gstyle-color-widget.c b/src/gstyle/gstyle-color-widget.c
index ec6d2367d..d10475eee 100644
--- a/src/gstyle/gstyle-color-widget.c
+++ b/src/gstyle/gstyle-color-widget.c
@@ -228,7 +228,7 @@ gstyle_color_widget_on_drag_motion (GtkWidget *widget,
gtk_drag_highlight (widget);
drag_action = gdk_drag_context_get_actions (context);
- if ((drag_action | GDK_ACTION_COPY) != 0)
+ if (drag_action & GDK_ACTION_COPY)
{
gdk_drag_status (context, GDK_ACTION_COPY, time);
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]