From 68e00e9e5d9d1213a34b84c8cb8964f9cb15bc97 Mon Sep 17 00:00:00 2001 From: Ting-Wei Lan Date: Wed, 5 Aug 2015 23:09:03 +0800 Subject: [PATCH] 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 --- gtk/gtkplacesview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c index bbeb6c271f..038ba83e4a 100644 --- a/gtk/gtkplacesview.c +++ b/gtk/gtkplacesview.c @@ -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,