From e7942e9bafbd5cbd47553402ba67e7232431d431 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 6 Jun 2018 17:38:26 +0200 Subject: caja-sidebar-title: fix [-Wmaybe-uninitialized] warning --- src/caja-sidebar-title.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/caja-sidebar-title.c b/src/caja-sidebar-title.c index fc40659f..1907b370 100644 --- a/src/caja-sidebar-title.c +++ b/src/caja-sidebar-title.c @@ -449,6 +449,7 @@ update_title_font (CajaSidebarTitle *sidebar_title) } context = gtk_widget_get_style_context (GTK_WIDGET (sidebar_title)); + state = gtk_widget_get_state_flags (GTK_WIDGET (sidebar_title)); gtk_style_context_get (context, state, GTK_STYLE_PROPERTY_FONT, &title_font, NULL); max_style_font_size = pango_font_description_get_size (title_font) * 1.8 / PANGO_SCALE; if (max_style_font_size < MIN_TITLE_FONT_SIZE + 1) -- cgit v1.2.1