[gimp] app: use gimp_personal_rc_file() not g_build_filename()



commit 0d16c328c8bb8539a80f1363aac3be6309aececb
Author: Michael Natterer <mitch gimp org>
Date:   Tue Feb 18 23:31:25 2014 +0100

    app: use gimp_personal_rc_file() not g_build_filename()
    
    for saving the action history.

 app/widgets/gimpaction-history.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/app/widgets/gimpaction-history.c b/app/widgets/gimpaction-history.c
index 4450c29..2418ac7 100644
--- a/app/widgets/gimpaction-history.c
+++ b/app/widgets/gimpaction-history.c
@@ -139,9 +139,7 @@ gimp_action_history_exit (GimpGuiConfig *config)
   actions = history.items;
   i       = config->action_history_size;
 
-  history_file_path = g_build_filename (gimp_directory (),
-                                        GIMP_ACTION_HISTORY_FILENAME,
-                                        NULL);
+  history_file_path = gimp_personal_rc_file (GIMP_ACTION_HISTORY_FILENAME);
 
   fp = fopen (history_file_path, "w");
   for (; actions && i; actions = g_list_next (actions), i--)


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