mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-08 09:40:10 +00:00
print: Drop one use of private api
We added public api for the foreground color for just this case, so use it.
This commit is contained in:
parent
53af7208e6
commit
351d747909
@ -2583,8 +2583,7 @@ draw_page (GtkDrawingArea *da,
|
||||
|
||||
g_object_unref (layout);
|
||||
|
||||
style = gtk_css_node_get_style (gtk_widget_get_css_node (widget));
|
||||
color = *gtk_css_color_value_get_rgba (style->core->color);
|
||||
gtk_widget_get_color (widget, &color);
|
||||
|
||||
if (page_setup != NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user