gEDA-dev: [PATCH][3/3] Merge GList selection changes
Peter TB Brett
peter at peter-b.co.uk
Sun Dec 17 06:53:47 EST 2006
Just to clarify, the correct patch is in fact:
--- a/gschem/src/x_autonumber.c
+++ b/gschem/src/x_autonumber.c
@@ -582,4 +582,5 @@ void autonumber_remove_number(AUTONUMBER_TEXT * autotext, OBJECT *o_current)
if (slot_str != NULL && o_slot != NULL) {
g_free(slot_str);
/* delete the slot attribute */
- o_selection_remove (autotext->toplevel->page_current->selection2_head, o_slot);
+ o_selection_remove (&(autotext->toplevel->page_current->selection_list),
+ o_slot);
> > Is this correct? Did you really want to pass in the address of
> > a local variable to o_selection_remove? Or is the right thing to do to
> > pass in the address of autotext->toplevel->page_current->selection_list?
> > Please advise.
>
> The latter. Sorry, my bad -- that was a patch Carlos & I threw together at
> the last minute to get stuff to compile, and I didn't test it properly.
>
> Peter
--
Fisher Society committee http://tinyurl.com/o39w2
CUSBC novices, match and league secretary http://tinyurl.com/mwrc9
CU Spaceflight http://tinyurl.com/ognu2
v3sw6YChw7$ln3pr6$ck3ma8u7+Lw3+2m0l7Ci6e4+8t4Gb8en6g6Pa2Xs5Mr4p4
hackerkey.com peter-b.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20061217/e44268e2/attachment.pgp
More information about the geda-dev
mailing list