gjs r39 - trunk/gi



Author: tko
Date: Thu Oct 23 11:00:15 2008
New Revision: 39
URL: http://svn.gnome.org/viewvc/gjs?rev=39&view=rev

Log:
Bug 557579 â Remove use of GJS_USE_UNINSTALLED_FILES in favor of GI_TYPELIB_PATH

	* gi/repo.c (gjs_define_repo): remove use of
	GJS_USE_UNINSTALLED_FILES in favor of GI_TYPELIB_PATH

Modified:
   trunk/gi/repo.c

Modified: trunk/gi/repo.c
==============================================================================
--- trunk/gi/repo.c	(original)
+++ trunk/gi/repo.c	Thu Oct 23 11:00:15 2008
@@ -314,14 +314,6 @@
 {
     JSObject *repo;
 
-    if (gjs_environment_variable_is_set("GJS_USE_UNINSTALLED_FILES")) {
-        const char *builddir = g_getenv("BUILDDIR");
-
-        if (builddir != NULL) {
-            g_irepository_prepend_search_path(builddir);
-        }
-    }
-
     repo = repo_new(context);
 
     if (!JS_DefineProperty(context, module_obj,



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