GNOME Bugzilla – Bug 749021
GtkStackSwitcher: Don't emit notify::visible-child when setting a stack
Last modified: 2015-05-07 13:16:40 UTC
Calling gtk_stack_switcher_set_stack can emit notify::visible-child signals atleast twice. These are not harmless because one of these emissions is with a child widget that isn't visible child.
Created attachment 302986 [details] [review] GtkStackSwitcher: Don't emit notify::visible-child when setting a stack
Created attachment 302987 [details] Sample program
Review of attachment 302986 [details] [review]: looks ok to me
Pushed to master. Is it OK to put it in gtk-3-16? It will avoid having to add a workaround in gnome-documents. It is a behavioural change, but it can be argued that the current behaviour is buggy.
yes, lets put it on 3.16
Pushed to gtk-3-16.