[gimp/gimp-2-10] libgimp: in GimpTileBackendPlugin, use gegl_tile_backend_command()
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] libgimp: in GimpTileBackendPlugin, use gegl_tile_backend_command()
- Date: Sun, 19 Aug 2018 23:47:55 +0000 (UTC)
commit d3cab633de6bcc1039d12046222b6b94da64fd13
Author: Ell <ell_se yahoo com>
Date: Sun Aug 19 19:43:10 2018 -0400
libgimp: in GimpTileBackendPlugin, use gegl_tile_backend_command()
In the command handler of GimpTileBackendPlugin, forward unhandled
commands to gegl_tile_backend_command(), instead of asserting that
they're within range (which has already been disabled by commit
bc3b076caffa12fc38f473b31d4197045fe23476). See GEGL commit
30047e65723ebb44fcde9c6b5f60ceecb43b0895.
(cherry picked from commit 668fee966a6b94a8314e0d3ce0d11d4661bf613d)
libgimp/gimptilebackendplugin.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/libgimp/gimptilebackendplugin.c b/libgimp/gimptilebackendplugin.c
index 383c7370e0..6c37371f0e 100644
--- a/libgimp/gimptilebackendplugin.c
+++ b/libgimp/gimptilebackendplugin.c
@@ -161,7 +161,8 @@ gimp_tile_backend_plugin_command (GeglTileSource *tile_store,
break;
default:
- /* g_assert (command < GEGL_TILE_LAST_COMMAND && command >= 0); */
+ result = gegl_tile_backend_command (GEGL_TILE_BACKEND (tile_store),
+ command, x, y, z, data);
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]