[clutter] drop-action: Use the event propagation macros
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] drop-action: Use the event propagation macros
- Date: Thu, 12 Jan 2012 10:41:36 +0000 (UTC)
commit 21149adb12643b34b959aa6c889322dbae1a2fff
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Jan 12 10:39:59 2012 +0000
drop-action: Use the event propagation macros
clutter/clutter-drop-action.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/clutter/clutter-drop-action.c b/clutter/clutter-drop-action.c
index d2d772e..d3f35e3 100644
--- a/clutter/clutter-drop-action.c
+++ b/clutter/clutter-drop-action.c
@@ -133,17 +133,17 @@ on_stage_capture (ClutterStage *stage,
if (!(clutter_event_type (event) == CLUTTER_MOTION ||
clutter_event_type (event) == CLUTTER_BUTTON_RELEASE))
- return FALSE;
+ return CLUTTER_EVENT_PROPAGATE;
if (!(clutter_event_get_state (event) & CLUTTER_BUTTON1_MASK))
- return FALSE;
+ return CLUTTER_EVENT_PROPAGATE;
clutter_event_get_coords (event, &event_x, &event_y);
device = clutter_event_get_device (event);
drag_actor = _clutter_stage_get_drag_actor (stage, device);
if (drag_actor == NULL)
- return FALSE;
+ return CLUTTER_EVENT_PROPAGATE;
/* get the actor under the cursor, excluding the dragged actor; we
* use reactivity because it won't cause any scene invalidation
@@ -235,7 +235,7 @@ out:
if (drag_actor != NULL)
clutter_actor_set_reactive (drag_actor, was_reactive);
- return FALSE;
+ return CLUTTER_EVENT_PROPAGATE;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]