app: remove pointless NULL checks

This commit is contained in:
Mikael Magnusson
2013-06-15 23:07:06 +02:00
parent ad0d43da87
commit 0091645129
5 changed files with 9 additions and 15 deletions

View File

@ -1252,10 +1252,8 @@ find_widget_under_pointer (GdkWindow *window,
}
/* We return (x, y) relative to the allocation of event_widget. */
if (x)
*x = child_loc.x;
if (y)
*y = child_loc.y;
*x = child_loc.x;
*y = child_loc.y;
return event_widget;
}