forked from AuroraMiddleware/gtk
iconview: fix a typo while removing the a11y adjustment weak ref
The code sets old_adj_ptr to the location containing the old weak ref, but then wants to remove a weak ref from &view->old_hadj, causing warnings when disposing the widget.
This commit is contained in:
parent
aeba575e1c
commit
8b9f0402b0
@ -8089,7 +8089,7 @@ gtk_icon_view_accessible_set_adjustment (AtkObject *accessible,
|
||||
if (*old_adj_ptr)
|
||||
{
|
||||
g_object_remove_weak_pointer (G_OBJECT (*old_adj_ptr),
|
||||
(gpointer *)&view->old_hadj);
|
||||
(gpointer *)old_adj_ptr);
|
||||
g_signal_handlers_disconnect_by_func (*old_adj_ptr,
|
||||
gtk_icon_view_accessible_adjustment_changed,
|
||||
accessible);
|
||||
|
Loading…
Reference in New Issue
Block a user