[gimp/blend-tool-fun: 59/163] plug-ins: use the new drawable_ID-based GimpAspectPreview API
- From: Michael Henning <mhenning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/blend-tool-fun: 59/163] plug-ins: use the new drawable_ID-based GimpAspectPreview API
- Date: Mon, 26 Oct 2015 02:23:10 +0000 (UTC)
commit a85bd0a7f6585289f5d5414e2021507a970b959c
Author: Michael Natterer <mitch gimp org>
Date: Thu Sep 17 00:28:09 2015 +0200
plug-ins: use the new drawable_ID-based GimpAspectPreview API
plug-ins/common/blinds.c | 2 +-
plug-ins/common/jigsaw.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/blinds.c b/plug-ins/common/blinds.c
index e74b3b3..2017888 100644
--- a/plug-ins/common/blinds.c
+++ b/plug-ins/common/blinds.c
@@ -240,7 +240,7 @@ blinds_dialog (GimpDrawable *drawable)
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_aspect_preview_new (drawable, NULL);
+ preview = gimp_aspect_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/jigsaw.c b/plug-ins/common/jigsaw.c
index 8cf8249..89cbe6d 100644
--- a/plug-ins/common/jigsaw.c
+++ b/plug-ins/common/jigsaw.c
@@ -2412,7 +2412,7 @@ jigsaw_dialog (GimpDrawable *drawable)
main_vbox, TRUE, TRUE, 0);
gtk_widget_show (main_vbox);
- preview = gimp_aspect_preview_new (drawable, NULL);
+ preview = gimp_aspect_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]