diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ido-detail-label.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ido-detail-label.c b/src/ido-detail-label.c index 780a2dd..9a163b7 100644 --- a/src/ido-detail-label.c +++ b/src/ido-detail-label.c @@ -140,8 +140,9 @@ gtk_widget_get_font_metrics (GtkWidget *widget, { const PangoFontDescription *font; - font = gtk_style_context_get_font (gtk_widget_get_style_context (widget), - gtk_widget_get_state_flags (widget)); + gtk_style_context_get (gtk_widget_get_style_context (widget), + gtk_widget_get_state_flags (widget), + "font", &font, NULL); return pango_context_get_metrics (context, font, |