plug-ins/pygimp/pygimp-drawable.c reorder includes to avoid preprocessor
2006-09-08 Manish Singh <yosh@gimp.org> * plug-ins/pygimp/pygimp-drawable.c * plug-ins/pygimp/pygimp-pdb.c: reorder includes to avoid preprocessor symbol redefinition warnings.
This commit is contained in:

committed by
Manish Singh

parent
793da2025f
commit
c46a34fdf0
@ -1,3 +1,9 @@
|
|||||||
|
2006-09-08 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* plug-ins/pygimp/pygimp-drawable.c
|
||||||
|
* plug-ins/pygimp/pygimp-pdb.c: reorder includes to avoid preprocessor
|
||||||
|
symbol redefinition warnings.
|
||||||
|
|
||||||
2006-09-08 Manish Singh <yosh@gimp.org>
|
2006-09-08 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* plug-ins/pygimp/pygimp-drawable.c
|
* plug-ins/pygimp/pygimp-drawable.c
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
# include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <glib-object.h>
|
|
||||||
|
|
||||||
#define NO_IMPORT_PYGOBJECT
|
#define NO_IMPORT_PYGOBJECT
|
||||||
#include <pygobject.h>
|
#include <pygobject.h>
|
||||||
|
|
||||||
@ -31,6 +29,8 @@
|
|||||||
#define NO_IMPORT_PYGIMPCOLOR
|
#define NO_IMPORT_PYGIMPCOLOR
|
||||||
#include "pygimpcolor-api.h"
|
#include "pygimpcolor-api.h"
|
||||||
|
|
||||||
|
#include <glib-object.h>
|
||||||
|
|
||||||
static void
|
static void
|
||||||
ensure_drawable(PyGimpDrawable *self)
|
ensure_drawable(PyGimpDrawable *self)
|
||||||
{
|
{
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
# include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <glib-object.h>
|
|
||||||
|
|
||||||
#define NO_IMPORT_PYGOBJECT
|
#define NO_IMPORT_PYGOBJECT
|
||||||
#include <pygobject.h>
|
#include <pygobject.h>
|
||||||
|
|
||||||
@ -33,6 +31,8 @@
|
|||||||
|
|
||||||
#include <structmember.h>
|
#include <structmember.h>
|
||||||
|
|
||||||
|
#include <glib-object.h>
|
||||||
|
|
||||||
#ifndef PG_DEBUG
|
#ifndef PG_DEBUG
|
||||||
# define PG_DEBUG 0
|
# define PG_DEBUG 0
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user