1
0
mirror of https://gitlab.gnome.org/GNOME/evince synced 2024-06-30 22:54:23 +00:00

ev-view-presentation: remove deprecated call to gtk_style_context_set_background

The draw function already calls gtk_render_background, making this
deprecated function unnecessary. This has no behavior change.
This commit is contained in:
Pablo Correa Gómez 2023-03-20 19:56:07 +01:00 committed by Germán Poo-Caamaño
parent a618409311
commit 76f9217433

View File

@ -1338,8 +1338,6 @@ ev_view_presentation_realize (GtkWidget *widget)
gdk_window_set_user_data (window, widget);
gtk_widget_set_window (widget, window);
gtk_style_context_set_background (gtk_widget_get_style_context (widget),
window);
g_idle_add ((GSourceFunc)init_presentation, widget);
}