[gimp/goat-invasion: 209/412] libgimp: flush underlying drawable on gegl_buffer_flush



commit d72abce3cc0a097572ef762350e1c9218dce5ac7
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Thu Mar 22 12:26:53 2012 +0000

    libgimp: flush underlying drawable on gegl_buffer_flush

 libgimp/gimptilebackendplugin.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/libgimp/gimptilebackendplugin.c b/libgimp/gimptilebackendplugin.c
index 6aa65d9..17d564b 100644
--- a/libgimp/gimptilebackendplugin.c
+++ b/libgimp/gimptilebackendplugin.c
@@ -150,7 +150,10 @@ gimp_tile_backend_plugin_command (GeglTileSource  *tile_store,
     case GEGL_TILE_SET:
       gimp_tile_write_mul (backend_plugin, x, y, gegl_tile_get_data (data));
       gegl_tile_mark_as_stored (data);
-      return NULL;
+      break;
+    case GEGL_TILE_FLUSH:
+      gimp_drawable_flush (backend_plugin->priv->drawable);
+      break;
     default:
       g_assert (command < GEGL_TILE_LAST_COMMAND && command >= 0);
     }



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