summaryrefslogtreecommitdiff
path: root/libmetacity/meta-theme.c
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2016-01-27 21:10:00 +0200
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2016-01-27 21:10:00 +0200
commit4bba06c8a0fe176375c8bf73f49f975ff9816418 (patch)
tree7462e6a8ce596821ce4c9ac9623eb6c99a0a35df /libmetacity/meta-theme.c
parentdecc57d085099c1c42a8646a2327f7efbbb56224 (diff)
downloadmetacity-4bba06c8a0fe176375c8bf73f49f975ff9816418.tar.gz
theme: move MetaThemeError to libmetacity
Diffstat (limited to 'libmetacity/meta-theme.c')
-rw-r--r--libmetacity/meta-theme.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/libmetacity/meta-theme.c b/libmetacity/meta-theme.c
new file mode 100644
index 00000000..39f500f2
--- /dev/null
+++ b/libmetacity/meta-theme.c
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2016 Alberts Muktupāvels
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "config.h"
+
+#include "meta-theme.h"
+
+/**
+ * meta_theme_error_quark:
+ *
+ * Domain for #MetaThemeError errors.
+ *
+ * Returns: the #GQuark identifying the #MetaThemeError domain.
+ */
+GQuark
+meta_theme_error_quark (void)
+{
+ return g_quark_from_static_string ("meta-theme-error-quark");
+}