diff options
author | Benjamin Otte <otte@redhat.com> | 2017-11-10 14:34:12 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-11-10 14:56:42 +0100 |
commit | 723bf4488703e807a1ffbfefb7356cf8b1439396 (patch) | |
tree | af7d3febd957d3ea1deca7746ad929048925a6ab /tests | |
parent | f4e1a2b8497bd6cfcd6ec63996de2c7bcd540cac (diff) | |
download | gtk+-723bf4488703e807a1ffbfefb7356cf8b1439396.tar.gz |
calendar: Fix for GTK4 changes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testcalendar.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/testcalendar.c b/tests/testcalendar.c index d5fc1a3a3b..bbd0cffbc7 100644 --- a/tests/testcalendar.c +++ b/tests/testcalendar.c @@ -499,8 +499,7 @@ create_calendar(void) size = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL); context = gtk_widget_get_style_context (calendar); - gtk_style_context_get (context, GTK_STATE_FLAG_NORMAL, - GTK_STYLE_PROPERTY_FONT, &font_desc, NULL); + gtk_style_context_get (context, GTK_STYLE_PROPERTY_FONT, &font_desc, NULL); font = pango_font_description_to_string (font_desc); button = gtk_font_button_new_with_font (font); g_free (font); |