scale: Fix a typo

We want to update the label size request when
the adjustment changes, not when anything else
changes.

This may be the reason for crash reports like
https://retrace.fedoraproject.org/faf/problems/bthash/?bth=1e5cc1318358d5db298e5d6c2ec47361922cce74
This commit is contained in:
Matthias Clasen 2022-09-27 21:03:56 -04:00
parent 85043a2d1b
commit 8b76cc841d

View File

@ -311,7 +311,7 @@ gtk_scale_notify (GObject *object,
g_free (values);
}
else if (strcmp (pspec->name, "adjustment"))
else if (strcmp (pspec->name, "adjustment") == 0)
{
if (priv->value_widget)
update_label_request (scale);