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
This commit is contained in:
Ting-Wei Lan 2015-08-05 23:09:03 +08:00
parent 359534ee59
commit 68e00e9e5d

View File

@ -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,