[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: gaf.git: branch: master updated (1.7.1-20110619-307-ga8cd39f)



The branch, master has been updated
       via  a8cd39f99d2c354b76edc064bda1b6936c6ff736 (commit)
      from  5e557fdfcb55b64dea1492df898785694f9ed155 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 gschem/src/o_select.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


=================
 Commit Messages
=================

commit a8cd39f99d2c354b76edc064bda1b6936c6ff736
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    gschem: Set GSCHEM_TOPLEVEL fluid when calling deselect-object-hook.
    
    Closes-bug: lp-908997

:100644 100644 585a85b... b501a44... M	gschem/src/o_select.c

=========
 Changes
=========

commit a8cd39f99d2c354b76edc064bda1b6936c6ff736
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    gschem: Set GSCHEM_TOPLEVEL fluid when calling deselect-object-hook.
    
    Closes-bug: lp-908997

diff --git a/gschem/src/o_select.c b/gschem/src/o_select.c
index 585a85b..b501a44 100644
--- a/gschem/src/o_select.c
+++ b/gschem/src/o_select.c
@@ -459,8 +459,11 @@ void o_select_unselect_all(GSCHEM_TOPLEVEL *w_current)
 
   /* Call hooks */
   if (removed != NULL) {
+    scm_dynwind_begin (0);
+    g_dynwind_window (w_current);
+    scm_dynwind_unwind_handler (g_list_free, removed, SCM_F_WIND_EXPLICITLY);
     g_run_hook_object_list ("%deselect-objects-hook", removed);
-    g_list_free (removed);
+    scm_dynwind_end ();
   }
 }
 




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs