[gnome-builder/wip/chergert/layout] plugins: check for .gresource



commit 17032d3972e52227bf7400039a97dd28a36cdbda
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jul 10 18:33:18 2017 -0700

    plugins: check for .gresource
    
    glib-compile-resources uses .gresource as the extension, so that
    is what we should be checking for.

 libide/application/ide-application-plugins.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/application/ide-application-plugins.c b/libide/application/ide-application-plugins.c
index 9a9a8b7..5a759b2 100644
--- a/libide/application/ide-application-plugins.c
+++ b/libide/application/ide-application-plugins.c
@@ -246,7 +246,7 @@ ide_application_plugins_load_plugin_gresources (IdeApplication *self,
 
   module_dir = peas_plugin_info_get_module_dir (plugin_info);
   module_name = peas_plugin_info_get_module_name (plugin_info);
-  gresources_basename = g_strdup_printf ("%s.gresources", module_name);
+  gresources_basename = g_strdup_printf ("%s.gresource", module_name);
   gresources_path = g_build_filename (module_dir, gresources_basename, NULL);
 
   if (g_file_test (gresources_path, G_FILE_TEST_IS_REGULAR))


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