Hi all, The following two patches introduce a GObject wrapper, GedaList around the GList used for selection management. This allows us to get signal notifications when the selection is modified (via the GedaList API), and is the first step towards non-modal attribute / property editors.
I'd appreciate any code review and comments before I merge these. Having chatted to Ales on IRC, I can confirm that using GObject in libgeda isn't a blocker unless anyone else objects to this. The first patch adds the GedaList class, and the second modifies the selection code to use it. Apologies for the white-space changes which have crept in the second patch. They are wanted, but I should have kept them separate. You can see the gitweb, look at the last two commits: "Added new GedaList class derived from GObject" "Change selection code to use a generic GedaList typecast to SELECTION." at: http://repo.or.cz/w/geda-gaf/pcjc2.git Ignore the commit: "Fix line styles drawn by gschem to obey the line-style rc keyword.", it does not actually do what it says in the commit message, it just fixes a typo so far - its an incomplete patch in my stgit stack.). Kind regards, -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
