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.

https://bugzilla.gnome.org/show_bug.cgi?id=753284
parent 359534ee
......@@ -1663,7 +1663,7 @@ listbox_header_func (GtkListBoxRow *row,
"hexpand", TRUE,
"use_markup", TRUE,
"label", text,
"xalign", 0,
"xalign", 0.0f,
NULL);
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