Blame src/dh-error.c

Packit 116408
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
Packit 116408
/*
Packit 116408
 * Copyright (C) 2002 CodeFactory AB
Packit 116408
 * Copyright (C) 2002 Mikael Hallendal <micke@imendio.com>
Packit 116408
 *
Packit 116408
 * This program is free software; you can redistribute it and/or
Packit 116408
 * modify it under the terms of the GNU General Public License as
Packit 116408
 * published by the Free Software Foundation; either version 2 of the
Packit 116408
 * License, or (at your option) any later version.
Packit 116408
 *
Packit 116408
 * This program is distributed in the hope that it will be useful,
Packit 116408
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 116408
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 116408
 * General Public License for more details.
Packit 116408
 *
Packit 116408
 * You should have received a copy of the GNU General Public License
Packit 116408
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
Packit 116408
 */
Packit 116408
Packit 116408
#include "config.h"
Packit 116408
#include "dh-error.h"
Packit 116408
Packit 116408
GQuark
Packit 116408
dh_error_quark (void)
Packit 116408
{
Packit 116408
        static GQuark q = 0;
Packit 116408
Packit 116408
        if (q == 0) {
Packit 116408
                q = g_quark_from_static_string ("devhelp-error-quark");
Packit 116408
        }
Packit 116408
Packit 116408
        return q;
Packit 116408
}