stylecontext: Set state flags on widget paths
Set the widget path state flags with the state flags of the style context. We do not update the state flags but replace the previous one because we want to be able to have save()/restore() unset state flags.
This commit is contained in:
@@ -747,6 +747,10 @@ G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
g_quark_to_string (quark));
|
||||
}
|
||||
|
||||
/* Set widget state */
|
||||
gtk_widget_path_iter_set_state (path, pos,
|
||||
gtk_widget_path_iter_get_state (path, pos) | info->state_flags);
|
||||
|
||||
return path;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user