mirror of https://github.com/GNOME/gimp.git
New files defining GIMP_WIDGETS_ERROR domain with currently only a
* libgimpwidgets/gimpwidgets-error.[ch]: New files defining GIMP_WIDGETS_ERROR domain with currently only a GIMP_WIDGETS_PARSE_ERROR error code. * libgimpwidgets/Makefile.am: Add the new files here. svn path=/trunk/; revision=27741
This commit is contained in:
parent
cde3b4a6d8
commit
bb591631fe
|
@ -1,3 +1,11 @@
|
||||||
|
2008-11-30 Martin Nordholts <martinn@svn.gnome.org>
|
||||||
|
|
||||||
|
* libgimpwidgets/gimpwidgets-error.[ch]: New files defining
|
||||||
|
GIMP_WIDGETS_ERROR domain with currently only a
|
||||||
|
GIMP_WIDGETS_PARSE_ERROR error code.
|
||||||
|
|
||||||
|
* libgimpwidgets/Makefile.am: Add the new files here.
|
||||||
|
|
||||||
2008-11-27 Sven Neumann <sven@gimp.org>
|
2008-11-27 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
Bug 562459 – PF_PALETTE: 'TypeError' when used in a plugin that is
|
Bug 562459 – PF_PALETTE: 'TypeError' when used in a plugin that is
|
||||||
|
|
|
@ -160,6 +160,8 @@ libgimpwidgets_2_0_la_sources = \
|
||||||
gimpstringcombobox.h \
|
gimpstringcombobox.h \
|
||||||
gimpunitmenu.c \
|
gimpunitmenu.c \
|
||||||
gimpunitmenu.h \
|
gimpunitmenu.h \
|
||||||
|
gimpwidgets-error.c \
|
||||||
|
gimpwidgets-error.h \
|
||||||
gimpwidgets-private.c \
|
gimpwidgets-private.c \
|
||||||
gimpwidgets-private.h \
|
gimpwidgets-private.h \
|
||||||
gimpwidgets.c \
|
gimpwidgets.c \
|
||||||
|
@ -232,6 +234,7 @@ libgimpwidgetsinclude_HEADERS = \
|
||||||
gimpstock.h \
|
gimpstock.h \
|
||||||
gimpstringcombobox.h \
|
gimpstringcombobox.h \
|
||||||
gimpunitmenu.h \
|
gimpunitmenu.h \
|
||||||
|
gimpwidgets-error.h \
|
||||||
gimpwidgets.h \
|
gimpwidgets.h \
|
||||||
gimpwidgetsenums.h \
|
gimpwidgetsenums.h \
|
||||||
gimpwidgetstypes.h \
|
gimpwidgetstypes.h \
|
||||||
|
|
|
@ -0,0 +1,41 @@
|
||||||
|
/* LIBGIMP - The GIMP Library
|
||||||
|
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
|
||||||
|
*
|
||||||
|
* gimpwidgets-error.c
|
||||||
|
* Copyright (C) 2008 Martin Nordholts <martinn@svn.gnome.org>
|
||||||
|
*
|
||||||
|
* 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 2 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, write to the
|
||||||
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
* Boston, MA 02111-1307, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
|
||||||
|
#include "gimpwidgets-error.h"
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gimp_widgets_error_quark:
|
||||||
|
*
|
||||||
|
* This function is never called directly. Use GIMP_WIDGETS_ERROR() instead.
|
||||||
|
*
|
||||||
|
* Return value: the #GQuark that defines the GIMP widgets error domain.
|
||||||
|
**/
|
||||||
|
GQuark
|
||||||
|
gimp_widgets_error_quark (void)
|
||||||
|
{
|
||||||
|
return g_quark_from_static_string ("gimp-widgets-error-quark");
|
||||||
|
}
|
|
@ -0,0 +1,42 @@
|
||||||
|
/* LIBGIMP - The GIMP Library
|
||||||
|
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
|
||||||
|
*
|
||||||
|
* gimpwidgets-error.h
|
||||||
|
* Copyright (C) 2008 Martin Nordholts <martinn@svn.gnome.org>
|
||||||
|
*
|
||||||
|
* 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 2 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, write to the
|
||||||
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
* Boston, MA 02111-1307, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __GIMP_WIDGETS_ERROR_H__
|
||||||
|
#define __GIMP_WIDGETS_ERROR_H__
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
|
typedef enum
|
||||||
|
{
|
||||||
|
GIMP_WIDGETS_PARSE_ERROR,
|
||||||
|
} GimpWidgetsError;
|
||||||
|
|
||||||
|
|
||||||
|
#define GIMP_WIDGETS_ERROR (gimp_widgets_error_quark ())
|
||||||
|
|
||||||
|
GQuark gimp_widgets_error_quark (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_WIDGETS_ERROR_H__ */
|
Loading…
Reference in New Issue