[gimp] Add freeze_notify/thaw_notify around GimpDrawable::set_tiles()



commit 98123f3475d71dda1ea66401559b8ecdac8e5e92
Author: Michael Natterer <mitch gimp org>
Date:   Wed Aug 26 13:20:18 2009 +0200

    Add freeze_notify/thaw_notify around GimpDrawable::set_tiles()

 app/core/gimpdrawable.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimpdrawable.c b/app/core/gimpdrawable.c
index aed50cf..d888356 100644
--- a/app/core/gimpdrawable.c
+++ b/app/core/gimpdrawable.c
@@ -1393,11 +1393,15 @@ gimp_drawable_set_tiles_full (GimpDrawable       *drawable,
                             gimp_item_get_height (item));
     }
 
+  g_object_freeze_notify (G_OBJECT (drawable));
+
   GIMP_DRAWABLE_GET_CLASS (drawable)->set_tiles (drawable,
                                                  push_undo, undo_desc,
                                                  tiles, type,
                                                  offset_x, offset_y);
 
+  g_object_thaw_notify (G_OBJECT (drawable));
+
   gimp_drawable_update (drawable,
                         0, 0,
                         gimp_item_get_width  (item),



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