gegl r1967 - in trunk: . gegl/operation



Author: mitch
Date: Tue Feb  5 16:31:02 2008
New Revision: 1967
URL: http://svn.gnome.org/viewvc/gegl?rev=1967&view=rev

Log:
2008-02-05  Michael Natterer  <mitch gimp org>

	* gegl/operation/gegl-operation.c: add G_STRFUNC to a warning and
	made precondition check warn nicer.



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

Modified: trunk/gegl/operation/gegl-operation.c
==============================================================================
--- trunk/gegl/operation/gegl-operation.c	(original)
+++ trunk/gegl/operation/gegl-operation.c	Tue Feb  5 16:31:02 2008
@@ -83,13 +83,13 @@
   GeglPad *pad;
 
   g_return_if_fail (GEGL_IS_OPERATION (self));
-  g_return_if_fail (param_spec);
+  g_return_if_fail (param_spec != NULL);
 
   if (!self->node)
     {
-      g_warning ("gegl_operation_create_pad aborting, no associated node. "
+      g_warning ("%s: aborting, no associated node. "
                  "This method should only be called after the operation is "
-                 "associated with a node.");
+                 "associated with a node.", G_STRFUNC);
       return;
     }
 



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