From 9151e0b9f521060a7792a0e73ea0a8f3e77a0f89 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 31 Oct 2017 02:35:21 +0100 Subject: stylecontext: Port to use display instead of screen --- examples/plugman.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/plugman.c b/examples/plugman.c index e7a5272a91..5f70dbb287 100644 --- a/examples/plugman.c +++ b/examples/plugman.c @@ -226,9 +226,9 @@ plugin_action (GAction *action, css_provider = gtk_css_provider_new (); gtk_css_provider_load_from_data (css_provider, css_to_load, -1); - gtk_style_context_add_provider_for_screen (gdk_screen_get_default (), - GTK_STYLE_PROVIDER (css_provider), - GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); + gtk_style_context_add_provider_for_display (gdk_display_get_default (), + GTK_STYLE_PROVIDER (css_provider), + GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); } static void -- cgit v1.2.1