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] 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] Problem with creating/compiling XMPModel which inherits from GObject

2009-07-15 Thread Roman Joost
On Thu, Jul 16, 2009 at 04:26:41PM +1000, 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. > > The model now inherits from GObject and but most of the data structure > is unchanged

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

2009-07-15 Thread Roman Joost
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. The model now inherits from GObject and but most of the data structure is unchanged: struct _XMPModel { GObject parent_instance;