Re: [Gimp-developer] Coding Convention Question

2011-01-22 Thread Sven Neumann
On Fri, 2011-01-21 at 19:05 -0500, Eric Grivel wrote:
 Hi,
 
 I'm looking at bug #596410 and in order to get to the import source in 
 gimpimage.c, I seem to have to #include ../file/gimp-file.h (to get to 
 the GIMP_FILE_IMPORT_SOURCE_KEY constant). Is it appropriate to include 
 a header file from a sibling directory this way?

No, you just #include file/gimp-file.h. The include paths for the
compiler are configured so that this will work.


Sven


___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] Coding Convention Question

2011-01-21 Thread Eric Grivel
Hi,

I'm looking at bug #596410 and in order to get to the import source in 
gimpimage.c, I seem to have to #include ../file/gimp-file.h (to get to 
the GIMP_FILE_IMPORT_SOURCE_KEY constant). Is it appropriate to include 
a header file from a sibling directory this way?

Thanks,
Eric
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer