diff options
author | raveit65 <[email protected]> | 2018-06-06 17:38:26 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-06-07 20:23:35 +0200 |
commit | e7942e9bafbd5cbd47553402ba67e7232431d431 (patch) | |
tree | 8b88898c48e6327ce5e7520f8dd0fb6c51b68e1c /src/caja-sidebar-title.c | |
parent | df6643acc8ad90292a56feac666fb5d557004964 (diff) | |
download | caja-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.c | 1 |
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) |