GNOME Bugzilla – Bug 709613
GtkStack: Warn when setting a child visible which is not in the stack
Last modified: 2013-10-09 11:14:54 UTC
GtkStack does not warn if setting a child to be visible when the child is not in the stack. It would be useful to warn, as otherwise it is quite difficult for the API user to know that they are doing something wrong.
Created attachment 256693 [details] [review] warn when setting a child visible which is not in the stack
Review of attachment 256693 [details] [review]: sure, looks fine. please also push it to the gtk-3-10 branch
Comment on attachment 256693 [details] [review] warn when setting a child visible which is not in the stack Thanks, pushed to master and gtk-3-10 as 5f611831587507ff21e481a4afbbfc13a5441344 and 71affbeec0cca2cd6a01069dfd1c414a0079179b.