Merge branch 'fix-keymap-notify' into 'main'

Don't emit ::notify from a getter

See merge request GNOME/gtk!5267
This commit is contained in:
Matthias Clasen 2022-11-27 19:04:13 +00:00
commit 3dae22efdb

View File

@ -603,7 +603,7 @@ update_direction (GdkX11Keymap *keymap_x11,
keymap_x11->have_direction = TRUE;
}
if (!had_direction || old_direction != keymap_x11->current_direction)
if (had_direction && old_direction != keymap_x11->current_direction)
{
g_object_notify (G_OBJECT (keyboard), "direction");
return TRUE;