[gedit/libgpe: 17/18] Fix wrong data dir being set for system plugins.



commit c4a92c2b8cdd83751065a6ea47019cfaf769ff05
Author: Steve Frécinaux <code istique net>
Date:   Wed Nov 4 20:46:14 2009 +0100

    Fix wrong data dir being set for system plugins.

 gedit/gedit-plugins-engine.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-plugins-engine.c b/gedit/gedit-plugins-engine.c
index d7eeef2..8d8dd2a 100644
--- a/gedit/gedit-plugins-engine.c
+++ b/gedit/gedit-plugins-engine.c
@@ -111,7 +111,7 @@ gedit_plugins_engine_get_default (void)
 
 	/* Add the system plugins dir */
 	module_dir = gedit_dirs_get_gedit_plugins_dir ();
-	data_dir = gedit_dirs_get_gedit_plugins_dir ();
+	data_dir = gedit_dirs_get_gedit_plugins_data_dir ();
 	gpe_engine_add_plugin_directory (default_engine, module_dir, data_dir);
 	g_free (module_dir);
 	g_free (data_dir);



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