gegl r3030 - trunk/gegl/graph
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r3030 - trunk/gegl/graph
- Date: Sat, 11 Apr 2009 14:50:05 +0000 (UTC)
Author: martinn
Date: Sat Apr 11 14:50:05 2009
New Revision: 3030
URL: http://svn.gnome.org/viewvc/gegl?rev=3030&view=rev
Log:
Do not dodge corrupt pad connections
Do not dodge corrupt pad connections, it makes more sense to crash due
to segmentation fault.
Modified:
trunk/gegl/graph/gegl-pad.c
Modified: trunk/gegl/graph/gegl-pad.c
==============================================================================
--- trunk/gegl/graph/gegl-pad.c (original)
+++ trunk/gegl/graph/gegl-pad.c Sat Apr 11 14:50:05 2009
@@ -178,15 +178,8 @@
for (iter = self->connections; iter; iter = g_slist_next (iter))
{
GeglConnection *connection = iter->data;
- if (connection)
- {
- depends_on = g_slist_prepend (depends_on,
- gegl_connection_get_source_pad (connection));
- }
- else
- {
- g_warning ("hmm,. or perhaps just a non connected pad");
- }
+ depends_on = g_slist_prepend (depends_on,
+ gegl_connection_get_source_pad (connection));
}
/* FIXME: this add depends for all inputs of the graph, this is probably
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]