[gnome-todo] panel-scheduled: pass xalign as float



commit 04f7af1c3a71fd3c0cab840413d8d609c19fde3b
Author: Jason Crain <jason inspiresomeone us>
Date:   Sun Oct 9 19:42:02 2016 -0500

    panel-scheduled: pass xalign as float
    
    Pass the "xalign" property to g_object_new as a float instead of an int
    so it matches the property definition.  Passing it as an int crashes
    i386 machines.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772672

 plugins/scheduled-panel/gtd-panel-scheduled.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/scheduled-panel/gtd-panel-scheduled.c b/plugins/scheduled-panel/gtd-panel-scheduled.c
index 661d0c4..db1083a 100644
--- a/plugins/scheduled-panel/gtd-panel-scheduled.c
+++ b/plugins/scheduled-panel/gtd-panel-scheduled.c
@@ -127,7 +127,7 @@ create_label (const gchar *text,
                         "margin-left", 12,
                         "margin-bottom", 6,
                         "margin-top", first_header ? 6 : 18,
-                        "xalign", 0,
+                        "xalign", 0.0,
                         "hexpand", TRUE,
                         NULL);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]