Re: XMPModel and custom signals

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Martin,

On Sun, Aug 02, 2009 at 01:58:20PM +0200, Martin Nordholts wrote:
> On 08/02/2009 01:50 PM, Roman Joost wrote:
> >> does not change the fact that it would be nice to have a
> >> 'property-changed' signal as a convenience if you have the need to
> >> listen property changes
> > So ... I'm just wondering. If I like to use two signals for the
> > XMPModel, does it still make sense to inherit from GtkTreeStore? I mean,
> > I can't currently see any benefits if I inherit from GtkTreeStore.
> 
> In general, aggregation is preferable to inheritance because the former 
> results in more dynamic code with less assumptions. If you think 
> aggregation makes more sense than inheritance in this case, then I'd say 
> go ahead and use aggregation, i.e. have a GtkTreeStore as an instance 
> member in XMPModel
Should I redo the patch posted for the bug I've created at:

    http://bugzilla.gnome.org/show_bug.cgi?id=589474

and implement the schema change signal (which is missing), or can
someone review the patch again?

Cheers,
-- 
Roman Joost
www: http://www.romanofski.de
email: romanofski@xxxxxxxx

Attachment: signature.asc
Description: Digital signature

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

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux