summaryrefslogtreecommitdiff
path: root/applets/clock/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'applets/clock/clock.c')
-rw-r--r--applets/clock/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/clock/clock.c b/applets/clock/clock.c
index cdc17f01..bcd89fc0 100644
--- a/applets/clock/clock.c
+++ b/applets/clock/clock.c
@@ -410,8 +410,8 @@ calculate_minimum_height (GtkWidget *widget,
#if GTK_CHECK_VERSION (3, 0, 0)
state = gtk_widget_get_state_flags (widget);
style_context = gtk_widget_get_style_context (widget);
- font_desc = gtk_style_context_get_font (style_context, state);
+ gtk_style_context_get (style_context, state, GTK_STYLE_PROPERTY_FONT, &font_desc, NULL);
pango_context = gtk_widget_get_pango_context (widget);
metrics = pango_context_get_metrics (pango_context,
font_desc,