[gnome-photos/wip/uajain/shadows_highlights: 2/2] application: Set license as GPL3 for gegl:shadows-highlights



commit 03e0bbe02b05322c2695dd14faa3edbb305ba3cc
Author: Umang Jain <mailumangjain gmail com>
Date:   Fri Oct 27 11:51:57 2017 +0530

    application: Set license as GPL3 for gegl:shadows-highlights
    
    https://bugzilla.gnome.org/show_bug.cgi?id=788201

 src/photos-application.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index 25d58d5..46f152b 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -173,6 +173,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 */
@@ -1835,6 +1836,7 @@ static void
 photos_application_startup (GApplication *application)
 {
   PhotosApplication *self = PHOTOS_APPLICATION (application);
+  GeglConfig *config;
   GError *error;
   GSimpleAction *action;
   GrlRegistry *registry;
@@ -1862,6 +1864,9 @@ photos_application_startup (GApplication *application)
 
   gegl_init (NULL, NULL);
 
+  config = gegl_config ();
+  g_object_set (config, "application-license", "GPL3", NULL);
+
   grl_init (NULL, NULL);
   registry = grl_registry_get_default ();
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]