summaryrefslogtreecommitdiff
path: root/src/caja-sidebar-title.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-06-06 17:38:26 +0200
committerraveit65 <[email protected]>2018-06-07 20:23:35 +0200
commite7942e9bafbd5cbd47553402ba67e7232431d431 (patch)
tree8b88898c48e6327ce5e7520f8dd0fb6c51b68e1c /src/caja-sidebar-title.c
parentdf6643acc8ad90292a56feac666fb5d557004964 (diff)
downloadcaja-e7942e9bafbd5cbd47553402ba67e7232431d431.tar.bz2
caja-e7942e9bafbd5cbd47553402ba67e7232431d431.tar.xz
caja-sidebar-title: fix [-Wmaybe-uninitialized] warning
Diffstat (limited to 'src/caja-sidebar-title.c')
-rw-r--r--src/caja-sidebar-title.c1
1 files changed, 1 insertions, 0 deletions
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)