[gimp/blend-tool-fun: 55/163] plug-ins: use the new drawable_ID-based GimpDrawablePreview API
- From: Michael Henning <mhenning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/blend-tool-fun: 55/163] plug-ins: use the new drawable_ID-based GimpDrawablePreview API
- Date: Mon, 26 Oct 2015 02:22:50 +0000 (UTC)
commit 725e432a9a9d08d8ab0f865aeb4bcd3466e4f878
Author: Michael Natterer <mitch gimp org>
Date: Tue Sep 15 00:50:16 2015 +0200
plug-ins: use the new drawable_ID-based GimpDrawablePreview API
plug-ins/common/blur-gauss-selective.c | 2 +-
plug-ins/common/cartoon.c | 2 +-
plug-ins/common/checkerboard.c | 2 +-
plug-ins/common/despeckle.c | 2 +-
plug-ins/common/destripe.c | 2 +-
plug-ins/common/edge-dog.c | 2 +-
plug-ins/common/edge-neon.c | 2 +-
plug-ins/common/emboss.c | 2 +-
plug-ins/common/grid.c | 2 +-
plug-ins/common/newsprint.c | 2 +-
plug-ins/common/nl-filter.c | 2 +-
plug-ins/common/oilify.c | 2 +-
plug-ins/common/photocopy.c | 2 +-
plug-ins/common/ripple.c | 2 +-
plug-ins/common/sharpen.c | 2 +-
plug-ins/common/softglow.c | 2 +-
plug-ins/common/sparkle.c | 2 +-
plug-ins/common/unsharp-mask.c | 2 +-
18 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/plug-ins/common/blur-gauss-selective.c b/plug-ins/common/blur-gauss-selective.c
index 5acf2d5..e136605 100644
--- a/plug-ins/common/blur-gauss-selective.c
+++ b/plug-ins/common/blur-gauss-selective.c
@@ -251,7 +251,7 @@ sel_gauss_dialog (GimpDrawable *drawable)
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
diff --git a/plug-ins/common/cartoon.c b/plug-ins/common/cartoon.c
index 2d55ba3..157a2fe 100644
--- a/plug-ins/common/cartoon.c
+++ b/plug-ins/common/cartoon.c
@@ -828,7 +828,7 @@ cartoon_dialog (GimpDrawable *drawable)
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
diff --git a/plug-ins/common/checkerboard.c b/plug-ins/common/checkerboard.c
index 74c4bac..afb27f2 100644
--- a/plug-ins/common/checkerboard.c
+++ b/plug-ins/common/checkerboard.c
@@ -365,7 +365,7 @@ checkerboard_dialog (gint32 image_ID,
vbox, TRUE, TRUE, 0);
gtk_widget_show (vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
g_signal_connect_swapped (preview, "invalidated",
diff --git a/plug-ins/common/despeckle.c b/plug-ins/common/despeckle.c
index 8ced21d..c55465a 100644
--- a/plug-ins/common/despeckle.c
+++ b/plug-ins/common/despeckle.c
@@ -460,7 +460,7 @@ despeckle_dialog (void)
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
diff --git a/plug-ins/common/destripe.c b/plug-ins/common/destripe.c
index c0160cc..65a5724 100644
--- a/plug-ins/common/destripe.c
+++ b/plug-ins/common/destripe.c
@@ -459,7 +459,7 @@ destripe_dialog (GimpDrawable *drawable)
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
diff --git a/plug-ins/common/edge-dog.c b/plug-ins/common/edge-dog.c
index 31256a0..acc4572 100644
--- a/plug-ins/common/edge-dog.c
+++ b/plug-ins/common/edge-dog.c
@@ -319,7 +319,7 @@ dog_dialog (gint32 image_ID,
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (main_vbox), preview, FALSE, FALSE, 0);
gtk_widget_show (preview);
diff --git a/plug-ins/common/edge-neon.c b/plug-ins/common/edge-neon.c
index 2f234a6..007e675 100644
--- a/plug-ins/common/edge-neon.c
+++ b/plug-ins/common/edge-neon.c
@@ -716,7 +716,7 @@ neon_dialog (GimpDrawable *drawable)
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
diff --git a/plug-ins/common/emboss.c b/plug-ins/common/emboss.c
index 0c0a608..430d498 100644
--- a/plug-ins/common/emboss.c
+++ b/plug-ins/common/emboss.c
@@ -466,7 +466,7 @@ emboss_dialog (GimpDrawable *drawable)
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
g_signal_connect_swapped (preview, "invalidated",
diff --git a/plug-ins/common/grid.c b/plug-ins/common/grid.c
index effd12a..7904a06 100644
--- a/plug-ins/common/grid.c
+++ b/plug-ins/common/grid.c
@@ -659,7 +659,7 @@ dialog (gint32 image_ID,
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
diff --git a/plug-ins/common/newsprint.c b/plug-ins/common/newsprint.c
index e9b21c7..032d6d8 100644
--- a/plug-ins/common/newsprint.c
+++ b/plug-ins/common/newsprint.c
@@ -1207,7 +1207,7 @@ newsprint_dialog (GimpDrawable *drawable)
gtk_box_pack_end (GTK_BOX (hbox), vbox, FALSE, FALSE, 0);
gtk_widget_show (vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (hbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
diff --git a/plug-ins/common/nl-filter.c b/plug-ins/common/nl-filter.c
index 8121dbb..051372d 100644
--- a/plug-ins/common/nl-filter.c
+++ b/plug-ins/common/nl-filter.c
@@ -1035,7 +1035,7 @@ nlfilter_dialog (GimpDrawable *drawable)
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
diff --git a/plug-ins/common/oilify.c b/plug-ins/common/oilify.c
index beb77e2..7a04506 100644
--- a/plug-ins/common/oilify.c
+++ b/plug-ins/common/oilify.c
@@ -797,7 +797,7 @@ oilify_dialog (GimpDrawable *drawable)
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
g_signal_connect_swapped (preview, "invalidated",
diff --git a/plug-ins/common/photocopy.c b/plug-ins/common/photocopy.c
index dae8eb0..c3e4318 100644
--- a/plug-ins/common/photocopy.c
+++ b/plug-ins/common/photocopy.c
@@ -859,7 +859,7 @@ photocopy_dialog (GimpDrawable *drawable)
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
diff --git a/plug-ins/common/ripple.c b/plug-ins/common/ripple.c
index 4dd72df..eae1501 100644
--- a/plug-ins/common/ripple.c
+++ b/plug-ins/common/ripple.c
@@ -503,7 +503,7 @@ ripple_dialog (GimpDrawable *drawable)
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
diff --git a/plug-ins/common/sharpen.c b/plug-ins/common/sharpen.c
index 589a851..dbeac7c 100644
--- a/plug-ins/common/sharpen.c
+++ b/plug-ins/common/sharpen.c
@@ -490,7 +490,7 @@ sharpen_dialog (GimpDrawable *drawable)
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
diff --git a/plug-ins/common/softglow.c b/plug-ins/common/softglow.c
index 57ca563..4414c45 100644
--- a/plug-ins/common/softglow.c
+++ b/plug-ins/common/softglow.c
@@ -652,7 +652,7 @@ softglow_dialog (GimpDrawable *drawable)
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
diff --git a/plug-ins/common/sparkle.c b/plug-ins/common/sparkle.c
index fc26bd1..47ccb89 100644
--- a/plug-ins/common/sparkle.c
+++ b/plug-ins/common/sparkle.c
@@ -356,7 +356,7 @@ sparkle_dialog (GimpDrawable *drawable)
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
g_signal_connect_swapped (preview, "invalidated",
diff --git a/plug-ins/common/unsharp-mask.c b/plug-ins/common/unsharp-mask.c
index 252b083..ee83e27 100644
--- a/plug-ins/common/unsharp-mask.c
+++ b/plug-ins/common/unsharp-mask.c
@@ -853,7 +853,7 @@ unsharp_mask_dialog (GimpDrawable *drawable)
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_drawable_preview_new (drawable, NULL);
+ preview = gimp_drawable_preview_new_from_drawable_id (drawable->drawable_id);
gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]