forked from AuroraMiddleware/gtk
Emit ::style-set after setting priv->style
This was inadvertedly changed with an optimization a while ago, and can lead to application crashes. https://bugzilla.gnome.org/show_bug.cgi?id=773029
This commit is contained in:
parent
3ad1677a3a
commit
e51d73afa3
@ -16621,8 +16621,8 @@ void
|
|||||||
_gtk_widget_set_style (GtkWidget *widget,
|
_gtk_widget_set_style (GtkWidget *widget,
|
||||||
GtkStyle *style)
|
GtkStyle *style)
|
||||||
{
|
{
|
||||||
g_signal_emit (widget, widget_signals[STYLE_SET], 0, widget->priv->style);
|
|
||||||
widget->priv->style = style;
|
widget->priv->style = style;
|
||||||
|
g_signal_emit (widget, widget_signals[STYLE_SET], 0, widget->priv->style);
|
||||||
}
|
}
|
||||||
|
|
||||||
GtkActionMuxer *
|
GtkActionMuxer *
|
||||||
|
Loading…
Reference in New Issue
Block a user