[gnome-photos/wip/rishi/shadhi: 1/3] gegl: Add gegl:shadows-highlights to the list of required operations
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/shadhi: 1/3] gegl: Add gegl:shadows-highlights to the list of required operations
- Date: Mon, 30 Oct 2017 06:39:03 +0000 (UTC)
commit 0649fe3e53739a18d944108b5041d23635ce42c1
Author: Umang Jain <mailumangjain gmail com>
Date: Mon Oct 30 07:31:42 2017 +0100
gegl: Add gegl:shadows-highlights to the list of required operations
Since gegl:shadows-highlights is only available for GPLv3-licensed
applications, set GeglConfig:application-license too.
It's going to be used it in the following patches.
src/photos-gegl.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-gegl.c b/src/photos-gegl.c
index 2110561..3bd6d16 100644
--- a/src/photos-gegl.c
+++ b/src/photos-gegl.c
@@ -59,6 +59,7 @@ static const gchar *REQUIRED_GEGL_OPS[] =
"gegl:rotate-on-center",
"gegl:save-pixbuf",
"gegl:scale-ratio",
+ "gegl:shadows-highlights",
"gegl:unsharp-mask",
/* Used by gegl:load */
@@ -310,6 +311,7 @@ photos_gegl_init (void)
threads = (gint) (num_processors > 1 ? num_processors / 2 : num_processors);
config = gegl_config ();
+ g_object_set (config, "application-license", "GPL3", NULL);
g_object_set (config, "threads", threads, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]