mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 14:53:03 +00:00
trivial: Fix return value error in clutter_event_get_gesture_motion_delta
This commit is contained in:
parent
a722cbebef
commit
7e0f588c91
@ -1980,9 +1980,9 @@ clutter_event_get_gesture_motion_delta (const ClutterEvent *event,
|
|||||||
gdouble *dx,
|
gdouble *dx,
|
||||||
gdouble *dy)
|
gdouble *dy)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (event != NULL, FALSE);
|
g_return_if_fail (event != NULL);
|
||||||
g_return_val_if_fail (event->type == CLUTTER_TOUCHPAD_PINCH ||
|
g_return_if_fail (event->type == CLUTTER_TOUCHPAD_PINCH ||
|
||||||
event->type == CLUTTER_TOUCHPAD_SWIPE, FALSE);
|
event->type == CLUTTER_TOUCHPAD_SWIPE);
|
||||||
|
|
||||||
if (event->type == CLUTTER_TOUCHPAD_PINCH)
|
if (event->type == CLUTTER_TOUCHPAD_PINCH)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user