[glade] Fix bug in action widgets response-id parsing on 32bits system
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] Fix bug in action widgets response-id parsing on 32bits system
- Date: Sat, 17 Feb 2018 17:06:34 +0000 (UTC)
commit f440cdde2dc0967219c9e2c16264838c8b225548
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Sat Feb 17 12:25:59 2018 -0300
Fix bug in action widgets response-id parsing on 32bits system
plugins/gtk+/glade-gtk-action-widgets.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/gtk+/glade-gtk-action-widgets.c b/plugins/gtk+/glade-gtk-action-widgets.c
index b40db6d..4884ab1 100644
--- a/plugins/gtk+/glade-gtk-action-widgets.c
+++ b/plugins/gtk+/glade-gtk-action-widgets.c
@@ -67,11 +67,11 @@ glade_gtk_action_widgets_read_responses (GladeWidget *widget,
widget_name = glade_xml_get_content (node);
if ((action_widget = glade_widget_find_child (action_area, widget_name)))
- {
- glade_widget_property_set_enabled (action_widget, "response-id", TRUE);
+ {
+ glade_widget_property_set_enabled (action_widget, "response-id", TRUE);
glade_widget_property_set (action_widget, "response-id",
- g_ascii_strtoll (response, NULL, 10));
- }
+ (gint)g_ascii_strtoll (response, NULL, 10));
+ }
g_free (response);
g_free (widget_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]