grim/gplate

changelogged the glib requirement
default tip
2013-09-21, Gary Kramlich
169f55edb6a4
changelogged the glib requirement
/*
* GPlate - GObject based templating library
* Copyright (C) 2007-2012 Gary Kramlich <grim@reaperworld.com>
*
* 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 3 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, see <http://www.gnu.org/licenses/>.
*/
#include <gplate/gplate-errors.h>
/**
* gplate_errors_get_quark:
*
* Returns a #GQuark for the log domain, to be used with #g_error_new for
* errors inside of GPlate.
*
* Return Value: The #GQuark to use with #g_error_new.
*/
GQuark
gplate_errors_get_quark(void) {
static GQuark quark = 0;
if(G_UNLIKELY(quark == 0))
quark = g_quark_from_string("gplate");
return quark;
}