summaryrefslogtreecommitdiff
path: root/src/libtracker-common
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2017-06-19 15:39:09 +0200
committerCarlos Garnacho <carlosg@gnome.org>2017-06-29 20:49:06 +0200
commit4b56e2c9a915d33aab0580db0a0eb215f77e5e3e (patch)
tree4f65aa00a8e244f66bd90525e08c253453a4bce3 /src/libtracker-common
parent7a594de4bfcb1bbd4bcd16b4a807a29e7c770920 (diff)
downloadtracker-4b56e2c9a915d33aab0580db0a0eb215f77e5e3e.tar.gz
tracker-store: Use TrackerDomainOntology helper
Diffstat (limited to 'src/libtracker-common')
-rw-r--r--src/libtracker-common/tracker-domain-ontology.c23
-rw-r--r--src/libtracker-common/tracker-domain-ontology.h21
2 files changed, 42 insertions, 2 deletions
diff --git a/src/libtracker-common/tracker-domain-ontology.c b/src/libtracker-common/tracker-domain-ontology.c
index 07b440135..122f0b2d0 100644
--- a/src/libtracker-common/tracker-domain-ontology.c
+++ b/src/libtracker-common/tracker-domain-ontology.c
@@ -1,3 +1,24 @@
+/*
+ * Copyright (C) 2017, Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ *
+ * Authors: Carlos Garnacho <carlosg@gnome.org>
+ */
+
#include "config.h"
#include <string.h>
@@ -37,10 +58,8 @@ struct {
{ "XDG_DOWNLOAD_DIR", G_USER_DIRECTORY_DOWNLOAD },
{ "XDG_MUSIC_DIR", G_USER_DIRECTORY_MUSIC },
{ "XDG_PICTURES_DIR", G_USER_DIRECTORY_PICTURES },
- { "XDG_PICTURES_DIR", G_USER_DIRECTORY_PICTURES },
{ "XDG_PUBLICSHARE_DIR", G_USER_DIRECTORY_PUBLIC_SHARE },
{ "XDG_VIDEOS_DIR", G_USER_DIRECTORY_VIDEOS },
- { "XDG_VIDEOS_DIR", G_USER_DIRECTORY_VIDEOS },
};
#define DOMAIN_ONTOLOGY_SECTION "DomainOntology"
diff --git a/src/libtracker-common/tracker-domain-ontology.h b/src/libtracker-common/tracker-domain-ontology.h
index 1530b771c..378733375 100644
--- a/src/libtracker-common/tracker-domain-ontology.h
+++ b/src/libtracker-common/tracker-domain-ontology.h
@@ -1,3 +1,24 @@
+/*
+ * Copyright (C) 2017, Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ *
+ * Authors: Carlos Garnacho <carlosg@gnome.org>
+ */
+
#ifndef __TRACKER_DOMAIN_ONTOLOGY_H__
#define __TRACKER_DOMAIN_ONTOLOGY_H__