gegl r2819 - in trunk: . operations/core



Author: ok
Date: Sat Dec  6 14:22:39 2008
New Revision: 2819
URL: http://svn.gnome.org/viewvc/gegl?rev=2819&view=rev

Log:
* operations/core/shift.c: (attach), (gegl_chant_class_init): warn
when using the shift operation.


Modified:
   trunk/ChangeLog
   trunk/operations/core/shift.c

Modified: trunk/operations/core/shift.c
==============================================================================
--- trunk/operations/core/shift.c	(original)
+++ trunk/operations/core/shift.c	Sat Dec  6 14:22:39 2008
@@ -40,6 +40,8 @@
 {
   GObjectClass *object_class = G_OBJECT_GET_CLASS (operation);
 
+  g_warning ("using depreacted operation 'gegl:shift'\n");
+
   gegl_operation_create_pad (operation,
                              g_object_class_find_property (object_class,
                                                            "output"));
@@ -177,9 +179,9 @@
   operation_class->get_required_for_output   = get_required_for_output;
   operation_class->get_invalidated_by_change = get_invalidated_by_change;
 
-  operation_class->name        = "gegl:shift";
+  operation_class->name        = "gegl:shifto";
   operation_class->categories  = "core";
-  operation_class->description = _("Shift the contents of a buffer");
+  operation_class->description = _("Shift the contents of a buffer this op is deprecated and gegl:translate should be used instead.");
 
   operation_class->no_cache = TRUE;
 }



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