1
0
Fork 0

drag-action: Fix a compiler warning

Use arguments of the right signedness when passing pointers.
This commit is contained in:
Emmanuele Bassi 2011-03-21 12:41:40 +00:00
parent a51c4cff72
commit a76e0041af

View file

@ -815,9 +815,17 @@ clutter_drag_action_get_drag_threshold (ClutterDragAction *action,
guint *x_threshold,
guint *y_threshold)
{
gint x_res, y_res;
g_return_if_fail (CLUTTER_IS_DRAG_ACTION (action));
get_drag_threshold (action, x_threshold, y_threshold);
get_drag_threshold (action, &x_res, &y_res);
if (x_threshold != NULL)
*x_threshold = x_res;
if (y_threshold != NULL)
*y_threshold = y_res;
}
/**