[gnome-documents] list-view: make sure zero is parsed as a float
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] list-view: make sure zero is parsed as a float
- Date: Mon, 26 Mar 2012 21:40:53 +0000 (UTC)
commit 6a675de59e9755a25e1cd03164647dec160258dc
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Mar 26 17:39:13 2012 -0400
list-view: make sure zero is parsed as a float
I have no idea why, but this seems to fix a crash that only happens on
32-bit systems.
src/lib/gd-main-list-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lib/gd-main-list-view.c b/src/lib/gd-main-list-view.c
index df8dac5..306a066 100644
--- a/src/lib/gd-main-list-view.c
+++ b/src/lib/gd-main-list-view.c
@@ -120,7 +120,7 @@ gd_main_list_view_constructed (GObject *obj)
cell = gd_two_lines_renderer_new ();
g_object_set (cell,
- "xalign", 0,
+ "xalign", 0.0,
"wrap-mode", PANGO_WRAP_WORD_CHAR,
"xpad", 12,
"text-lines", 2,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]