[glade] Fix bug in GtkCellRenderer attributes parsing on 32bits	systems
- From: Juan Pablo Ugarte <jpu src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [glade] Fix bug in GtkCellRenderer attributes parsing on 32bits	systems
 
- Date: Sat, 17 Feb 2018 17:06:29 +0000 (UTC)
 
commit ade6076ff6ee12d5b8f7408d25493439dbdf8a42
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date:   Sat Feb 17 12:23:56 2018 -0300
    Fix bug in GtkCellRenderer attributes parsing on 32bits systems
    
    Fixes bug 793036 "GtkCellRenderer Properties not loaded from glade file"
    Thanks to Peter Onion for finding and fixing it.
 plugins/gtk+/glade-gtk-cell-layout.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/gtk+/glade-gtk-cell-layout.c b/plugins/gtk+/glade-gtk-cell-layout.c
index f3b0fb2..623e96f 100644
--- a/plugins/gtk+/glade-gtk-cell-layout.c
+++ b/plugins/gtk+/glade-gtk-cell-layout.c
@@ -200,7 +200,7 @@ glade_gtk_cell_renderer_read_attributes (GladeWidget * widget,
 
           if (use_attribute)
             glade_property_set (attr_prop,
-                                g_ascii_strtoll (column_str, NULL, 10));
+                                (gint)g_ascii_strtoll (column_str, NULL, 10));
         }
 
       g_free (name);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]