[gimp/goat-invasion: 209/526] libgimp: flush underlying drawable on gegl_buffer_flush
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 209/526] libgimp: flush underlying drawable on gegl_buffer_flush
- Date: Sun, 22 Apr 2012 13:16:51 +0000 (UTC)
commit 06b6a46683222a44c60f34c8f7f46f3e91d90eb7
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]