[evince] shell: Free app launch context



commit d51978bda3d54e0772fd7507b42317be0fd52ad3
Author: José Aliste <jose aliste gmail com>
Date:   Thu Dec 7 08:39:50 2017 -0300

    shell: Free app launch context
    
    According to the documentation, we have to free
    the context after use with g_object_unref.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=791287

 shell/ev-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 03fbb4e..8e73108 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -6017,7 +6017,7 @@ launch_external_uri (EvWindow *window, EvLinkAction *action)
                g_error_free (error);
        }
 
-        /* FIXMEchpe: unref launch context? */
+        g_object_unref (context);
 }
 
 static void


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