[gnome-builder] plugins: suffix resource path with /



commit 6bf0099fdb410b4ba21362bc307fb5e214878f4b
Author: Christian Hergert <chergert redhat com>
Date:   Mon Nov 13 04:58:23 2017 -0800

    plugins: suffix resource path with /
    
    We have an opportunity to make them faster in GLib if we use
    this as part of the path name.

 src/libide/application/ide-application-plugins.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libide/application/ide-application-plugins.c 
b/src/libide/application/ide-application-plugins.c
index b848d87..d6ee899 100644
--- a/src/libide/application/ide-application-plugins.c
+++ b/src/libide/application/ide-application-plugins.c
@@ -157,7 +157,7 @@ ide_application_discover_plugins (IdeApplication *self)
       peas_engine_enable_loader (engine, "python3");
     }
 
-  peas_engine_prepend_search_path (engine, "resource:///org/gnome/builder/plugins", NULL);
+  peas_engine_prepend_search_path (engine, "resource:///org/gnome/builder/plugins/", NULL);
 
   path = g_build_filename (g_get_user_data_dir (), "gnome-builder", "plugins", NULL);
   peas_engine_prepend_search_path (engine, path, NULL);


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