/* db-database-error.c generated by valac 0.56.3, the Vala compiler
 * generated from db-database-error.vala, do not modify */

/* Copyright 2016 Software Freedom Conservancy Inc.
 *
 * This software is licensed under the GNU Lesser General Public License
 * (version 2.1 or later).  See the COPYING file in this distribution.
 */

#include "geary-engine.h"

GQuark
geary_database_error_quark (void)
{
	return g_quark_from_static_string ("geary-database-error-quark");
}

 G_GNUC_NO_INLINE static GType
geary_database_error_get_type_once (void)
{
	static const GEnumValue values[] = {{GEARY_DATABASE_ERROR_GENERAL, "GEARY_DATABASE_ERROR_GENERAL", "general"}, {GEARY_DATABASE_ERROR_OPEN_REQUIRED, "GEARY_DATABASE_ERROR_OPEN_REQUIRED", "open-required"}, {GEARY_DATABASE_ERROR_BUSY, "GEARY_DATABASE_ERROR_BUSY", "busy"}, {GEARY_DATABASE_ERROR_CORRUPT, "GEARY_DATABASE_ERROR_CORRUPT", "corrupt"}, {GEARY_DATABASE_ERROR_ACCESS, "GEARY_DATABASE_ERROR_ACCESS", "access"}, {GEARY_DATABASE_ERROR_MEMORY, "GEARY_DATABASE_ERROR_MEMORY", "memory"}, {GEARY_DATABASE_ERROR_ABORT, "GEARY_DATABASE_ERROR_ABORT", "abort"}, {GEARY_DATABASE_ERROR_INTERRUPT, "GEARY_DATABASE_ERROR_INTERRUPT", "interrupt"}, {GEARY_DATABASE_ERROR_LIMITS, "GEARY_DATABASE_ERROR_LIMITS", "limits"}, {GEARY_DATABASE_ERROR_TYPESPEC, "GEARY_DATABASE_ERROR_TYPESPEC", "typespec"}, {GEARY_DATABASE_ERROR_FINISHED, "GEARY_DATABASE_ERROR_FINISHED", "finished"}, {GEARY_DATABASE_ERROR_SCHEMA_VERSION, "GEARY_DATABASE_ERROR_SCHEMA_VERSION", "schema-version"}, {0, NULL, NULL}};
	GType geary_database_error_type_id;
	geary_database_error_type_id = g_enum_register_static ("GearyDatabaseError", values);
	return geary_database_error_type_id;
}

GType
geary_database_error_get_type (void)
{
	static gsize geary_database_error_type_id__once = 0;
	if (g_once_init_enter (&geary_database_error_type_id__once)) {
		GType geary_database_error_type_id;
		geary_database_error_type_id = geary_database_error_get_type_once ();
		g_once_init_leave (&geary_database_error_type_id__once, geary_database_error_type_id);
	}
	return geary_database_error_type_id__once;
}

