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

gEDA-cvs: gaf.git: branch: master updated (1.6.1-20100214-151-g41ea61b)



The branch, master has been updated
       via  41ea61b2f156ec7b473863935410b5113aab1514 (commit)
      from  03a529b993bc5f7b432a8c11e74a69dee12043ed (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
=========

 libgeda/src/s_weakref.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


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

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

    libgeda: Correctly clear weak references.
    
    Fix a really really stupid logic bug introduced in commit
    f8ddb85e74bb.

:100644 100644 f78671a... b8cd4bd... M	libgeda/src/s_weakref.c

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

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

    libgeda: Correctly clear weak references.
    
    Fix a really really stupid logic bug introduced in commit
    f8ddb85e74bb.

diff --git a/libgeda/src/s_weakref.c b/libgeda/src/s_weakref.c
index f78671a..b8cd4bd 100644
--- a/libgeda/src/s_weakref.c
+++ b/libgeda/src/s_weakref.c
@@ -103,7 +103,7 @@ s_weakref_remove (GList *weak_refs, void (*notify_func)(void *, void *),
     entry = iter->data;
     if ((entry != NULL) &&
         (entry->notify_func == notify_func) &&
-        (entry->user_data != user_data)) {
+        (entry->user_data == user_data)) {
       g_free (entry);
       iter->data = NULL;
     }




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