summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-07-14 01:55:04 +0200
committerraveit65 <[email protected]>2018-07-18 12:49:40 +0200
commit6e195911f2b4b2383382b60bc850f7852da1365e (patch)
tree208a8adcc1387ba28ec7fd9b7a6fd0cbfe2b0983
parent29fc232c5a7f28af4d3162d7ceebb65d9bd6b1e0 (diff)
downloadatril-6e195911f2b4b2383382b60bc850f7852da1365e.tar.bz2
atril-6e195911f2b4b2383382b60bc850f7852da1365e.tar.xz
presentation: avoid deprecated 'gtk_style_context_set_background'
-rw-r--r--libview/ev-view-presentation.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libview/ev-view-presentation.c b/libview/ev-view-presentation.c
index 8f16675e..644cda54 100644
--- a/libview/ev-view-presentation.c
+++ b/libview/ev-view-presentation.c
@@ -1313,9 +1313,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);
}