[gimp] app: don't invalidate all images on color config changes
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: don't invalidate all images on color config changes
- Date: Mon, 30 May 2016 08:54:45 +0000 (UTC)
commit be8146d52968764c0643db69d3acc298564d6852
Author: Michael Natterer <mitch gimp org>
Date: Mon May 30 10:51:18 2016 +0200
app: don't invalidate all images on color config changes
Now all previews and the display shell connect to the color config
itself, there is no need any longer to connect to the global color
config's "notify" any longer from GimpImage. Also, the settings there
are for display purposes only, so nothing in the image itself needs
to be notified of the config change.
app/core/gimpimage.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/app/core/gimpimage.c b/app/core/gimpimage.c
index 3f1c77e..502dc67 100644
--- a/app/core/gimpimage.c
+++ b/app/core/gimpimage.c
@@ -848,10 +848,6 @@ gimp_image_constructed (GObject *object)
G_CALLBACK (gimp_viewable_size_changed),
image, G_CONNECT_SWAPPED);
- g_signal_connect_object (config->color_management, "notify",
- G_CALLBACK (gimp_color_managed_profile_changed),
- image, G_CONNECT_SWAPPED);
-
gimp_container_add (image->gimp->images, GIMP_OBJECT (image));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]