From a0566770da6eead8a559b2377231d95ee280954a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 21 Jul 2014 20:35:59 -0400 Subject: GtkWidgetPath: Don't forget to copy the state gtk_widget_path_copy was not copying the state of each element. This was showing in "GtkRadioButton:active GtkLabel" not matching in stack switchers. --- gtk/gtkwidgetpath.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk/gtkwidgetpath.c') diff --git a/gtk/gtkwidgetpath.c b/gtk/gtkwidgetpath.c index ba94a7fb2e..b33d23bd8b 100644 --- a/gtk/gtkwidgetpath.c +++ b/gtk/gtkwidgetpath.c @@ -132,6 +132,7 @@ gtk_path_element_copy (GtkPathElement *dest, dest->type = src->type; dest->name = src->name; + dest->state = src->state; if (src->siblings) dest->siblings = gtk_widget_path_ref (src->siblings); dest->sibling_index = src->sibling_index; -- cgit v1.2.1