author | Senko Rasic <senko.rasic@collabora.co.uk> |
Sun, 30 Nov 2008 10:20:08 +0100 | |
changeset 575 | daad23d59b56 |
parent 555 | 695c909d0c45 |
permissions | -rw-r--r-- |
1 | 1 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ |
2 |
/* |
|
99
81e9d035de02
2004-10-05 Mikael Hallendal <micke@imendio.com>
hallski <hallski>
parents:
84
diff
changeset
|
3 |
* Copyright (C) 2003 Imendio AB |
1 | 4 |
* |
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU Lesser General Public License as |
|
7 |
* published by the Free Software Foundation; either version 2 of the |
|
8 |
* License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
13 |
* Lesser General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU Lesser General Public |
|
16 |
* License along with this program; if not, write to the |
|
17 |
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
|
18 |
* Boston, MA 02111-1307, USA. |
|
19 |
*/ |
|
20 |
||
21 |
#include <config.h> |
|
22 |
#include <glib/gerror.h> |
|
23 |
#include "lm-error.h" |
|
24 |
||
555
695c909d0c45
Fixed up the documentation for 1.4.3 [#27]
Mikael Hallendal <micke@imendio.com>
parents:
99
diff
changeset
|
25 |
/** |
695c909d0c45
Fixed up the documentation for 1.4.3 [#27]
Mikael Hallendal <micke@imendio.com>
parents:
99
diff
changeset
|
26 |
* lm_error_quark: |
695c909d0c45
Fixed up the documentation for 1.4.3 [#27]
Mikael Hallendal <micke@imendio.com>
parents:
99
diff
changeset
|
27 |
* |
695c909d0c45
Fixed up the documentation for 1.4.3 [#27]
Mikael Hallendal <micke@imendio.com>
parents:
99
diff
changeset
|
28 |
* Returns the Loudmouth #GError domain quark. |
695c909d0c45
Fixed up the documentation for 1.4.3 [#27]
Mikael Hallendal <micke@imendio.com>
parents:
99
diff
changeset
|
29 |
* |
695c909d0c45
Fixed up the documentation for 1.4.3 [#27]
Mikael Hallendal <micke@imendio.com>
parents:
99
diff
changeset
|
30 |
* Return value: The Loudmouth domain quark used by #GError. |
695c909d0c45
Fixed up the documentation for 1.4.3 [#27]
Mikael Hallendal <micke@imendio.com>
parents:
99
diff
changeset
|
31 |
*/ |
1 | 32 |
GQuark |
33 |
lm_error_quark (void) |
|
34 |
{ |
|
35 |
static GQuark q = 0; |
|
36 |
||
37 |
if (q == 0) { |
|
38 |
q = g_quark_from_static_string ("lm-error-quark"); |
|
39 |
} |
|
40 |
||
41 |
return q; |
|
42 |
} |