Commit 68e00e9e authored by Ting-Wei Lan's avatar Ting-Wei Lan

placesview: Fix wrong property type when creating a GtkLabel

The type of xalign property of GtkLabel is float, not int. Using wrong type
crashes GtkFileChooser on x86_64 when compiling with clang.
parent 359534ee
......@@ -1663,7 +1663,7 @@ listbox_header_func (GtkListBoxRow *row,
"hexpand", TRUE,
"use_markup", TRUE,
"label", text,
"xalign", 0,
"xalign", 0.0f,
g_object_set (label,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment