[gtranslator] Use dir method instead of utils one.



commit a52e456becf0a1bd7fc996d13c6f15790c0cb953
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Jun 21 00:08:20 2010 +0200

    Use dir method instead of utils one.

 plugins/dictionary/gtr-dict-panel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/dictionary/gtr-dict-panel.c b/plugins/dictionary/gtr-dict-panel.c
index d887623..d049f09 100644
--- a/plugins/dictionary/gtr-dict-panel.c
+++ b/plugins/dictionary/gtr-dict-panel.c
@@ -24,7 +24,7 @@
 #include "gtr-plugin.h"
 #include "gtr-window.h"
 #include "gtr-statusbar.h"
-#include "gtr-utils.h"
+#include "gtr-dirs.h"
 
 #include <glib.h>
 #include <glib-object.h>
@@ -639,7 +639,7 @@ gtr_dict_panel_init (GtrDictPanel * panel)
     panel->priv->loader = gdict_source_loader_new ();
 
   /* add our data dir inside $HOME to the loader's search paths */
-  data_dir = gtr_utils_get_user_config_dir ();
+  data_dir = gtr_dirs_get_user_config_dir ();
   gdict_source_loader_add_search_path (priv->loader, data_dir);
   g_free (data_dir);
 



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