[gimp/gimp-2-10] app: in GimpLineArt, ref input pickable
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] app: in GimpLineArt, ref input pickable
- Date: Mon, 4 Nov 2019 11:34:24 +0000 (UTC)
commit 6349453ad31c097f619a0d76c47fbb20f14fa48d
Author: Ell <ell_se yahoo com>
Date: Mon Nov 4 12:51:09 2019 +0200
app: in GimpLineArt, ref input pickable
... in particular, so that the GimpLineArt object can take
ownership over newly-created GimpImageProxy inputs.
(cherry picked from commit c8b5c81a418ab8e4997dc5bbffaa5a671d479e20)
app/core/gimplineart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/core/gimplineart.c b/app/core/gimplineart.c
index d49703481c..29e558c182 100644
--- a/app/core/gimplineart.c
+++ b/app/core/gimplineart.c
@@ -495,7 +495,7 @@ gimp_line_art_set_input (GimpLineArt *line_art,
if (line_art->priv->input)
g_signal_handlers_disconnect_by_data (line_art->priv->input, line_art);
- line_art->priv->input = pickable;
+ g_set_object (&line_art->priv->input, pickable);
gimp_line_art_compute (line_art);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]