[Gimp-developer] Problems using some API functions

2007-11-09 Thread Dani Perez
Hi, I am trying to use some functions of the application API, for example: gimp_text_layer_new gimp_image_get_by_ID I have included in my plug-in code the following two header files: #include libgimp/gimp.h #include libgimp/gimpui.h But I am still getting a compilation error saying

Re: [Gimp-developer] Problems using some API functions

2007-11-09 Thread Sven Neumann
Hi, On Fri, 2007-11-09 at 13:13 +0100, Dani Perez wrote: I am trying to use some functions of the application API, for example: gimp_text_layer_new gimp_image_get_by_ID You can't use the application API from your plug-in. This is the internal API that is used in the GIMP core. Sven