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



commit 6febfb0850a18f6f5964e8ced9ef918da66b413b
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/eds/gtd-panel-scheduled.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/eds/gtd-panel-scheduled.c b/plugins/eds/gtd-panel-scheduled.c
index ffbc7cb..ddde78f 100644
--- a/plugins/eds/gtd-panel-scheduled.c
+++ b/plugins/eds/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]