[gimp] libgimp: flush underlying drawable on gegl_buffer_flush
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimp: flush underlying drawable on gegl_buffer_flush
- Date: Wed, 2 May 2012 16:14:02 +0000 (UTC)
commit 2ff19d708760000adc63fe3241435d3bbfc9a1cb
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]