gegl r2886 - in trunk: . gegl/operation



Author: ok
Date: Mon Jan 26 20:09:03 2009
New Revision: 2886
URL: http://svn.gnome.org/viewvc/gegl?rev=2886&view=rev

Log:
* gegl/operation/gegl-operation-context.c:
(gegl_operation_context_set_object): improved handling of paramspec
not found and made warning clearer.


Modified:
   trunk/ChangeLog
   trunk/gegl/operation/gegl-operation-context.c

Modified: trunk/gegl/operation/gegl-operation-context.c
==============================================================================
--- trunk/gegl/operation/gegl-operation-context.c	(original)
+++ trunk/gegl/operation/gegl-operation-context.c	Mon Jan 26 20:09:03 2009
@@ -262,9 +262,10 @@
   }
   else
     {
-      g_warning ("eeek! %s\n", padname);
+      g_warning ("%s: No paramspec found for pad we %s'%s'\n", G_STRFUNC, data?"we have data":"", padname);
       if (data)
         g_object_unref (data); /* are we stealing the initial reference? */
+      return;
     }
   g_value_unset (&value);
   g_object_unref (data); /* are we stealing the initial reference? */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]