aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/gd-main-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/gd-main-view.c')
-rw-r--r--lib/widgets/gd-main-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/widgets/gd-main-view.c b/lib/widgets/gd-main-view.c
index 528c556f2..df7b3c654 100644
--- a/lib/widgets/gd-main-view.c
+++ b/lib/widgets/gd-main-view.c
@@ -306,7 +306,7 @@ gd_main_view_get_counter_icon (GdMainView *self,
pango_attr_list_insert (attr_list, attr);
pango_layout_set_attributes (layout, attr_list);
- desc = gtk_style_context_get_font (context, 0);
+ gtk_style_context_get (context, 0, "font", &desc, NULL);
pango_layout_set_font_description (layout, desc);
gtk_style_context_get_color (context, 0, &color);