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:
Manish Singh
2006-09-08 21:05:38 +00:00
committed by Manish Singh
parent 793da2025f
commit c46a34fdf0
3 changed files with 10 additions and 4 deletions

View File

@ -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

View File

@ -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)
{ {

View File

@ -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