aboutsummaryrefslogtreecommitdiffstats
path: root/src/ConfigError.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ConfigError.hxx (renamed from src/ConfigQuark.hxx)19
1 files changed, 3 insertions, 16 deletions
diff --git a/src/ConfigQuark.hxx b/src/ConfigError.hxx
index 4d9be33b1..a8917d7d1 100644
--- a/src/ConfigQuark.hxx
+++ b/src/ConfigError.hxx
@@ -17,22 +17,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef MPD_CONFIG_QUARK_HXX
-#define MPD_CONFIG_QUARK_HXX
+#ifndef MPD_CONFIG_ERROR_HXX
+#define MPD_CONFIG_ERROR_HXX
-#include "gcc.h"
-
-#include <glib.h>
-
-/**
- * A GQuark for GError instances, resulting from malformed
- * configuration.
- */
-gcc_const
-static inline GQuark
-config_quark(void)
-{
- return g_quark_from_static_string("config");
-}
+extern const class Domain config_domain;
#endif