popover: Don't create transient CSS nodes

There is no need to save the style context here.
This commit is contained in:
Matthias Clasen 2015-11-06 09:26:25 -05:00
parent 8d886f3513
commit 0bfc7db1fa

View File

@ -1063,7 +1063,6 @@ gtk_popover_draw (GtkWidget *widget,
GtkStateFlags state;
context = gtk_widget_get_style_context (widget);
gtk_style_context_save (context);
state = gtk_widget_get_state_flags (widget);
gtk_widget_get_allocation (widget, &allocation);
@ -1145,8 +1144,6 @@ G_GNUC_END_IGNORE_DEPRECATIONS
if (child)
gtk_container_propagate_draw (GTK_CONTAINER (widget), child, cr);
gtk_style_context_restore (context);
return TRUE;
}