GNOME Bugzilla – Bug 695375
GtkEntryAccessible: also handle entry icon tooltip NULL in notify_gtk.
Last modified: 2013-03-17 20:12:26 UTC
Created attachment 238323 [details] [review] GtkEntryAccessible: also handle entry icon tooltip NULL in notify_gtk. To clear the tooltip one is to set the tooltip to NULL. Though the GtkEntryAccessible expect this tooltip to not be NULL in gtk_entry_accessible_notify_gtk (already handling this case in its _init). Fixes: ** (epiphany:23914): CRITICAL **: atk_object_set_description: assertion `description != NULL' failed when epiphany g_object_set the entry icon tooltip to NULL (clear the tooltip) in its find bar.
Review of attachment 238323 [details] [review]: ::: gtk/a11y/gtkentryaccessible.c @@ +578,1 @@ text); Reading the docs for atk_object_set_description, I think you should pass "" as description for the NULL case, otherwise it won't be cleared when the tooltip text is reset.
Created attachment 239008 [details] [review] GtkEntryAccessible: also handle entry icon tooltip NULL in notify_gtk. Thanks I was afraid to trigger a new voice read by setting the description to "". Attached is the new patch that set the description to the empty string instead of plain discarding the update.
Review of attachment 239008 [details] [review]: Looks good to me
Attachment 239008 [details] pushed as da961b7 - GtkEntryAccessible: also handle entry icon tooltip NULL in notify_gtk.