[gnome-documents] main: support running from tree



commit f6c1893be89f484db4c3ddfcbc5619f4c22182c5
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Aug 19 10:24:43 2015 -0700

    main: support running from tree
    
    We still want to support running ./src/org.gnome.Documents from the
    source tree during development. Use pkg.initSubmodule() to make that
    work.

 src/main.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/main.js b/src/main.js
index 1445217..908a6fb 100644
--- a/src/main.js
+++ b/src/main.js
@@ -21,6 +21,10 @@
 
 pkg.initGettext();
 pkg.initFormat();
+// for libgd
+pkg.initSubmodule('libgd');
+// for gdprivate
+pkg.initSubmodule('src');
 pkg.require({ 'EvinceDocument': '3.0',
               'Gd': '1.0',
               'GdPrivate': '1.0',


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