Skip to content
Permalink
Browse files

caja-sidebar-title: fix [-Wmaybe-uninitialized] warning

  • Loading branch information...
raveit65 committed Jun 6, 2018
1 parent df6643a commit e7942e9bafbd5cbd47553402ba67e7232431d431
Showing with 1 addition and 0 deletions.
  1. +1 −0 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)

0 comments on commit e7942e9

Please sign in to comment.
You can’t perform that action at this time.