[gimp/gimp-2-10] libgimp: disable tile command range check in plug-in tile backend



commit 90ed3c8d3ab7fd9e3ea05d0b0e9522dda4036876
Author: Ell <ell_se yahoo com>
Date:   Sun Aug 19 06:43:59 2018 -0400

    libgimp: disable tile command range check in plug-in tile backend
    
    In gimp_tile_backend_plugin_command(), disable the range check for
    the input tile command.  This check prevents us from adding new
    tile commands to GEGL without breaking the ABI; yet, the next GEGL
    release will add a new command.  We're going to have to decide what
    to do about this, but for now, let's just disable the check, so
    that at least GIMP 2.10.6 is compatible with newer versions of
    GEGL, no matter how we end up handling this.

 libgimp/gimptilebackendplugin.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/libgimp/gimptilebackendplugin.c b/libgimp/gimptilebackendplugin.c
index acd6e039af..383c7370e0 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);
+      /* g_assert (command < GEGL_TILE_LAST_COMMAND && command >= 0); */
+      break;
     }
 
   return result;


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