projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87532f0
)
a11y/entry: Fix copy-pasteo re 2ndary icon tooltip
author
Daniel Boles
<dboles.src@gmail.com>
Tue, 19 Jun 2018 17:30:34 +0000
(18:30 +0100)
committer
Daniel Boles
<dboles.src@gmail.com>
Tue, 19 Jun 2018 17:37:25 +0000
(18:37 +0100)
The else case was wrongly resetting the accessible description on the
primary icon, which might not exist and can therefore cause a crash.
https://gitlab.gnome.org/GNOME/gtk/issues/1160
gtk/a11y/gtkentryaccessible.c
patch
|
blob
|
history
diff --git
a/gtk/a11y/gtkentryaccessible.c
b/gtk/a11y/gtkentryaccessible.c
index 3b23c7a64db341f4d88f04e3947edab5ba059060..de106c3cf049ee3312bbdd32fe921bde09456b21 100644
(file)
--- a/
gtk/a11y/gtkentryaccessible.c
+++ b/
gtk/a11y/gtkentryaccessible.c
@@
-604,7
+604,7
@@
gtk_entry_accessible_notify_gtk (GObject *obj,
}
else
{
- atk_object_set_description (priv->icons[GTK_ENTRY_ICON_
PRIM
ARY],
+ atk_object_set_description (priv->icons[GTK_ENTRY_ICON_
SECOND
ARY],
"");
}
}