forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
2df06d3490
commit
a0566770da
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user