a11y: Remove weak reference when updating a GtkPopoverAccessible relative-to widget
Otherwise the weak reference is left dangling, which later causes issues at the time of destroying that widget. https://bugzilla.gnome.org/show_bug.cgi?id=726749
This commit is contained in:
		| @ -49,6 +49,8 @@ popover_update_relative_to (AtkObject  *obj, | ||||
|  | ||||
|   if (priv->widget) | ||||
|     { | ||||
|       g_object_remove_weak_pointer (G_OBJECT (priv->widget), | ||||
|                                     (gpointer*) &priv->widget); | ||||
|       widget_accessible = gtk_widget_get_accessible (priv->widget); | ||||
|       atk_object_remove_relationship (obj, | ||||
|                                       ATK_RELATION_POPUP_FOR, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Carlos Garnacho
					Carlos Garnacho