[gimp/soc-2011-seamless-clone2] app: use the newly added drawable filter api to add/remove the fs filter
- From: Clayton Walker <claytonw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2011-seamless-clone2] app: use the newly added drawable filter api to add/remove the fs filter
- Date: Wed, 8 May 2013 15:12:08 +0000 (UTC)
commit 92cb0e8be9052d850eee7f3b455094106c9d4352
Author: Michael Natterer <mitch gimp org>
Date: Fri Apr 12 12:56:01 2013 +0200
app: use the newly added drawable filter api to add/remove the fs filter
app/core/gimpdrawable.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/app/core/gimpdrawable.c b/app/core/gimpdrawable.c
index 8862f5a..1aa3b10 100644
--- a/app/core/gimpdrawable.c
+++ b/app/core/gimpdrawable.c
@@ -979,8 +979,7 @@ gimp_drawable_sync_fs_filter (GimpDrawable *drawable,
drawable->private->fs_filter =
gimp_drawable_create_fs_filter (drawable, GIMP_DRAWABLE (fs));
- gimp_container_add (drawable->private->filter_stack,
- GIMP_OBJECT (drawable->private->fs_filter));
+ gimp_drawable_add_filter (drawable, drawable->private->fs_filter);
g_signal_connect (fs, "notify",
G_CALLBACK (gimp_drawable_fs_notify),
@@ -1017,8 +1016,7 @@ gimp_drawable_sync_fs_filter (GimpDrawable *drawable,
gimp_drawable_fs_notify,
drawable);
- gimp_container_remove (drawable->private->filter_stack,
- GIMP_OBJECT (drawable->private->fs_filter));
+ gimp_drawable_remove_filter (drawable, drawable->private->fs_filter);
fs_source = gimp_drawable_get_source_node (GIMP_DRAWABLE (fs));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]