projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85043a2
)
scale: Fix a typo
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 28 Sep 2022 01:03:56 +0000
(21:03 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 28 Sep 2022 01:03:56 +0000
(21:03 -0400)
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
gtk/gtkscale.c
patch
|
blob
|
history
diff --git
a/gtk/gtkscale.c
b/gtk/gtkscale.c
index 7280fadc53026284d4c617a56c3b47586537572b..110aa6c4ead1b08619b44c24e95a4bcc0ab3a6d2 100644
(file)
--- a/
gtk/gtkscale.c
+++ b/
gtk/gtkscale.c
@@
-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);