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:
parent
359534ee59
commit
68e00e9e5d
@ -1663,7 +1663,7 @@ listbox_header_func (GtkListBoxRow *row,
|
|||||||
"hexpand", TRUE,
|
"hexpand", TRUE,
|
||||||
"use_markup", TRUE,
|
"use_markup", TRUE,
|
||||||
"label", text,
|
"label", text,
|
||||||
"xalign", 0,
|
"xalign", 0.0f,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
g_object_set (label,
|
g_object_set (label,
|
||||||
|
Loading…
Reference in New Issue
Block a user