Commit f15cffb4 authored by Robert Ancell's avatar Robert Ancell

Use g_get_user_data_dir instead of hard-coded ~/.local/share

parent a5d2eef0
......@@ -57,9 +57,7 @@ void
gs_plugin_initialize (GsPlugin *plugin)
{
plugin->priv = GS_PLUGIN_GET_PRIVATE (GsPluginPrivate);
plugin->priv->db_path = g_build_filename (g_get_home_dir (),
".local",
"share",
plugin->priv->db_path = g_build_filename (g_get_user_data_dir (),
"gnome-software",
"fedora-tagger.db",
NULL);
......
......@@ -50,9 +50,7 @@ gs_plugin_initialize (GsPlugin *plugin)
{
/* create private area */
plugin->priv = GS_PLUGIN_GET_PRIVATE (GsPluginPrivate);
plugin->priv->db_path = g_build_filename (g_get_home_dir (),
".local",
"share",
plugin->priv->db_path = g_build_filename (g_get_user_data_dir (),
"gnome-software",
"hardcoded-ratings.db",
NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment