gegl r2740 - in trunk: . gegl/buffer
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2740 - in trunk: . gegl/buffer
- Date: Thu, 13 Nov 2008 23:46:36 +0000 (UTC)
Author: ok
Date: Thu Nov 13 23:46:35 2008
New Revision: 2740
URL: http://svn.gnome.org/viewvc/gegl?rev=2740&view=rev
Log:
* gegl/buffer/gegl-tile-handler.[ch]: made gegl_tile_handler_chain_up
a macro.
Modified:
trunk/ChangeLog
trunk/gegl/buffer/gegl-tile-handler.c
trunk/gegl/buffer/gegl-tile-handler.h
Modified: trunk/gegl/buffer/gegl-tile-handler.c
==============================================================================
--- trunk/gegl/buffer/gegl-tile-handler.c (original)
+++ trunk/gegl/buffer/gegl-tile-handler.c Thu Nov 13 23:46:35 2008
@@ -119,19 +119,6 @@
}
}
-gpointer gegl_tile_handler_chain_up (GeglTileHandler *handler,
- GeglTileCommand command,
- gint x,
- gint y,
- gint z,
- gpointer data)
-{
- GeglTileSource *source = gegl_tile_handler_get_source (handler);
- if (source)
- return gegl_tile_source_command (source, command, x, y, z, data);
- return NULL;
-}
-
static void
gegl_tile_handler_class_init (GeglTileHandlerClass *klass)
{
Modified: trunk/gegl/buffer/gegl-tile-handler.h
==============================================================================
--- trunk/gegl/buffer/gegl-tile-handler.h (original)
+++ trunk/gegl/buffer/gegl-tile-handler.h Thu Nov 13 23:46:35 2008
@@ -50,12 +50,8 @@
#define gegl_tile_handler_get_source(handler) (((GeglTileHandler*)handler)->source)
-gpointer gegl_tile_handler_chain_up (GeglTileHandler *handler,
- GeglTileCommand command,
- gint x,
- gint y,
- gint z,
- gpointer data);
+#define gegl_tile_handler_chain_up(handler,command,x,y,z,data) (gegl_tile_handler_get_source(handler)?gegl_tile_source_command(gegl_tile_handler_get_source(handler), command, x, y, z, data):NULL)
+
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]