Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sugar.c')
-rw-r--r--src/sugar.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sugar.c b/src/sugar.c
index 59fe343..7e5b727 100644
--- a/src/sugar.c
+++ b/src/sugar.c
@@ -19,9 +19,6 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
-
- June 14, 2002 - May 15, 2007
- $Id: cursor.c,v 1.5 2009/11/21 09:44:11 albert Exp $
*/
#include <SDL/SDL_syswm.h>
@@ -132,3 +129,8 @@ void sugar_save_jobject_file(char * path)
g_debug("Saved %s image to journal entry %s", path,
sugar_jobject_get_uid(jobject));
}
+
+char * sugar_get_savedir(void)
+{
+ return g_strdup_printf("%s/data", sugar_profile_get_activity_root());
+}