diff options
author | Benjamin Otte <otte@redhat.com> | 2017-10-31 02:35:21 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-10-31 03:05:54 +0100 |
commit | 9151e0b9f521060a7792a0e73ea0a8f3e77a0f89 (patch) | |
tree | 3ed40b25b874495b5f31ecfa91bb0859ff168a97 /tests/testwidgetfocus.c | |
parent | a2e625692e25aa97277dd05670a2e9c49c07b3ee (diff) | |
download | gtk+-9151e0b9f521060a7792a0e73ea0a8f3e77a0f89.tar.gz |
stylecontext: Port to use display instead of screen
Diffstat (limited to 'tests/testwidgetfocus.c')
-rw-r--r-- | tests/testwidgetfocus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testwidgetfocus.c b/tests/testwidgetfocus.c index 3524bb990e..8164759323 100644 --- a/tests/testwidgetfocus.c +++ b/tests/testwidgetfocus.c @@ -273,9 +273,9 @@ main() provider = gtk_css_provider_new (); gtk_css_provider_load_from_data (provider, css, -1); - gtk_style_context_add_provider_for_screen (gdk_screen_get_default (), - GTK_STYLE_PROVIDER (provider), - GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); + gtk_style_context_add_provider_for_display (gdk_display_get_default (), + GTK_STYLE_PROVIDER (provider), + GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); widget = g_object_new (GTK_TYPE_FOCUS_WIDGET, NULL); |