[glade/glade-3-20] 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/glade-3-20] Fix bug in GtkCellRenderer attributes parsing on 32bits systems
- Date: Sat, 17 Feb 2018 17:05:49 +0000 (UTC)
commit 9f1ceaa16c7fc0a4883f980e54a0de14ec714cce
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 ba5ae1f..f63d0fd 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]