Re: [Gimp-developer] Problem with creating/compiling XMPModel which inherits from GObject

2009-07-16 Thread Roman Joost
Hi Martin, On Thu, Jul 16, 2009 at 04:27:01PM +0200, Martin Nordholts wrote: > The errors are due to that header files are included in the wrong order > in the translation units (c files). Moving these around a bit solves > your compilation problems, I've attached a patch that should be applie

Re: [Gimp-developer] Switch language via menu

2009-07-16 Thread Sven Neumann
On Thu, 2009-07-16 at 10:55 +0200, Martin Nordholts wrote: > > I just want to ask one question on how to switch langugage in Gimp via > > menu, It will be good if Gimp can switch language via menu like VLC, > > Pidgin. > > Any one know, will Gimp have this feature in the future? > > > > Thank in a

Re: [Gimp-developer] Plugin Development

2009-07-16 Thread Rob Antonishen
On Thu, Jul 16, 2009 at 11:57 AM, Martin Nordholts wrote: > On 07/16/2009 05:39 PM, Rob Antonishen wrote: >> >> Specifically, If I have written a script and want better speed, should >> I write it as a python plugin, or as a C plugin? > > The first thing you should do is to benchmark your current

Re: [Gimp-developer] Plugin Development

2009-07-16 Thread Martin Nordholts
On 07/16/2009 05:39 PM, Rob Antonishen wrote: > I have a (hopefully simple) question that I can not seem to find the > answer for anywhere... > > When is it appropriate to write: > > - a script > - a python plugin > - a compiled plugin > > Specifically, If I have written a script and want better sp

[Gimp-developer] Plugin Development

2009-07-16 Thread Rob Antonishen
I have a (hopefully simple) question that I can not seem to find the answer for anywhere... When is it appropriate to write: - a script - a python plugin - a compiled plugin Specifically, If I have written a script and want better speed, should I write it as a python plugin, or as a C plugin? L

[Gimp-developer] file_jpeg_save in a c plugin

2009-07-16 Thread Javier R.
?Many thanks for your fast response, Martin! I'll check the documentation link that you propose and see if I can work this out. Muchas gracias de nuevo, Javier Ruiz >There is no such function in the C plug-in API, but you can invoke the >PDB function called file-jpeg-save with gimp_run_procedur

Re: [Gimp-developer] file_jpeg_save in a c plugin

2009-07-16 Thread Martin Nordholts
On 07/16/2009 04:52 PM, Javier R. wrote: > Hola, hi. > > I am trying to save an image as a jpeg file in a c-plugin. > The problem is that I have not been able to use the file_jpeg_save > function. There is no such function in the C plug-in API, but you can invoke the PDB function called file-jpe

[Gimp-developer] file_jpeg_save in a c plugin

2009-07-16 Thread Javier R.
Hola, hi. I am trying to save an image as a jpeg file in a c-plugin. The problem is that I have not been able to use the file_jpeg_save function. Any help appreciated! Thanks! (code excerpt) // works! gimp_file_save(GIMP_RUN_INTERACTIVE, nimage, vector_

Re: [Gimp-developer] Problem with creating/compiling XMPModel which inherits from GObject

2009-07-16 Thread Martin Nordholts
On 07/16/2009 08:26 AM, Roman Joost wrote: Hi, I thought it would be handy, if my XMPModel which stores the XMP metadata could emit it's own signals if properties or schemas change. I'm just wondering what I'm doing wrong here. If there is more code needed, I could probably attach it to a bug o

Re: [Gimp-developer] Switch language via menu

2009-07-16 Thread Martin Nordholts
On 07/16/2009 03:44 AM, Khoem Sokhem wrote: > Hello list members, > > I just want to ask one question on how to switch langugage in Gimp via > menu, It will be good if Gimp can switch language via menu like VLC, > Pidgin. > Any one know, will Gimp have this feature in the future? > > Thank in advan