mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
tests: fix testcalendar
Missing argument in gtk_style_context_get(), fooled by varargs.
This commit is contained in:
parent
efb4f2db50
commit
dc26dfd0c2
@ -476,7 +476,8 @@ 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, &font_desc, NULL);
|
||||
gtk_style_context_get (context, GTK_STATE_FLAG_NORMAL,
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user