ScrolledWindow: Fix non-disconnection of handlers
authorDaniel Boles <dboles@src.gnome.org>
Thu, 31 Aug 2017 22:17:03 +0000 (23:17 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Thu, 31 Aug 2017 22:17:03 +0000 (23:17 +0100)
commit5dc5576e142c5039f074058824946bef2acbdea8
treeaac6238105789299320f4f774fc331eb96fa1f90
parent64d05b5dc6b82cdcf9c18b0520e97243233c10c8
ScrolledWindow: Fix non-disconnection of handlers

• Use disconnect_by_data() to catch both _adjustment_changed() and now
  _adjustment_value_changed(), as the latter had been missed until now.

• Also disconnect from indicator_value_changed(), which was not done in
  destroy() due to indicator_reset() and remove_indicator() disagreeing.

https://bugzilla.gnome.org/show_bug.cgi?id=775074
gtk/gtkscrolledwindow.c