clutter/seat: Fix initial value in clutter_seat_has_touchscreen()
If we didn't have a touchscreen, we returned an uninitialized value. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1801>
This commit is contained in:
parent
83ed2afe34
commit
71b78c7bf4
1 changed files with 1 additions and 1 deletions
|
@ -672,7 +672,7 @@ clutter_seat_get_touch_mode (ClutterSeat *seat)
|
|||
gboolean
|
||||
clutter_seat_has_touchscreen (ClutterSeat *seat)
|
||||
{
|
||||
gboolean has_touchscreen;
|
||||
gboolean has_touchscreen = FALSE;
|
||||
const GList *devices, *l;
|
||||
|
||||
g_return_val_if_fail (CLUTTER_IS_SEAT (seat), FALSE);
|
||||
|
|
Loading…
Reference in a new issue