Skip to content

Commit e7942e9

Browse files
author
raveit65
committed
caja-sidebar-title: fix [-Wmaybe-uninitialized] warning
1 parent df6643a commit e7942e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/caja-sidebar-title.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ update_title_font (CajaSidebarTitle *sidebar_title)
449449
}
450450

451451
context = gtk_widget_get_style_context (GTK_WIDGET (sidebar_title));
452+
state = gtk_widget_get_state_flags (GTK_WIDGET (sidebar_title));
452453
gtk_style_context_get (context, state, GTK_STYLE_PROPERTY_FONT, &title_font, NULL);
453454
max_style_font_size = pango_font_description_get_size (title_font) * 1.8 / PANGO_SCALE;
454455
if (max_style_font_size < MIN_TITLE_FONT_SIZE + 1)

0 commit comments

Comments
 (0)