Fix a Gtk warning when checking path input in the log viewer.
[anjuta-git-plugin.git] / libanjuta / anjuta-error.h
blob73617334b7a7f702afd2419f56b5401725d1b28d
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * anjuta-error.h
4 * Copyright (C) 2007 Sebastien Granjoux <seb.sfo@free.fr>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the Free
18 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 #ifndef __ANJUTA_ERROR_H__
21 #define __ANJUTA_ERROR_H__
23 #include <glib-object.h>
25 G_BEGIN_DECLS
27 /* Boxed type for GError will not be done in GLib see bug #300610 */
29 #ifndef G_TYPE_ERROR
30 #define G_TYPE_ERROR (g_error_get_type())
31 #define NEED_G_ERROR_GET_TYPE
32 GType g_error_get_type (void) G_GNUC_CONST;
33 #endif
35 G_END_DECLS
37 #endif /* __ANJUTA_ERROR_H__ */