mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
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,
|
||||
"use_markup", TRUE,
|
||||
"label", text,
|
||||
"xalign", 0,
|
||||
"xalign", 0.0f,
|
||||
NULL);
|
||||
|
||||
g_object_set (label,
|
||||
|
Loading…
Reference in New Issue
Block a user