[graph-gtk] Fixed problem with input and output pad lists getting mangled
- From: Isaac Wagner <isaacbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [graph-gtk] Fixed problem with input and output pad lists getting mangled
- Date: Tue, 31 Jul 2012 14:34:26 +0000 (UTC)
commit cff8f42001f5aef76723c7d51974aecb2dc6a672
Author: Isaac Wagner <isaacbw src gnome org>
Date: Tue Jul 31 10:34:21 2012 -0400
Fixed problem with input and output pad lists getting mangled
graph-gtk/graph-gtk-node.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/graph-gtk/graph-gtk-node.c b/graph-gtk/graph-gtk-node.c
index 7efc08f..dff8736 100644
--- a/graph-gtk/graph-gtk-node.c
+++ b/graph-gtk/graph-gtk-node.c
@@ -316,7 +316,7 @@ graph_gtk_node_render(GraphGtkNode* self, cairo_t* cairo)
GList*
graph_gtk_node_get_pads(GraphGtkNode* self)
{
- return g_list_concat(self->input_pads, self->output_pads);
+ return g_list_concat(g_list_copy(self->input_pads), g_list_copy(self->output_pads));
}
GList*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]