[gimp] app: small cleanup in xcf_load_channel_props()
- From: N/A <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: small cleanup in xcf_load_channel_props()
- Date: Tue, 13 Feb 2018 18:48:10 +0000 (UTC)
commit fcde7bdf47160b23af0fa33ec61dcd4ba2e2b02c
Author: Ell <ell_se yahoo com>
Date: Tue Feb 13 13:40:24 2018 -0500
app: small cleanup in xcf_load_channel_props()
Remove the impromptu boundary invalidation when converting a
channel to a selection mask in xcf_load_channel_props(), as this
happens implicitly when stealing the channel's buffer, since
commit 38d4aa81214d41225e43b08b3fd5b06176e9f798.
app/xcf/xcf-load.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/app/xcf/xcf-load.c b/app/xcf/xcf-load.c
index 25af42f..f5d6930 100644
--- a/app/xcf/xcf-load.c
+++ b/app/xcf/xcf-load.c
@@ -1353,8 +1353,6 @@ xcf_load_channel_props (XcfInfo *info,
GIMP_DRAWABLE (*channel));
g_object_unref (*channel);
*channel = mask;
- (*channel)->boundary_known = FALSE;
- (*channel)->bounds_known = FALSE;
/* Don't restore info->active_channel because the
* selection can't be the active channel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]