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

gEDA-cvs: pcb.git: branch: master updated (07a98acbf1cb75536e777a9f240d5e338ce22f51)



The branch, master has been updated
       via  07a98acbf1cb75536e777a9f240d5e338ce22f51 (commit)
      from  94bad9f93afb9c18e314519d9e943ba2164f3571 (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
=========

 src/hid/gtk/gui-library-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


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

commit 07a98acbf1cb75536e777a9f240d5e338ce22f51
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/gtk: Fix crash in library window
    
    I missed a (GList *)->data dereference when converting to GList
    object storage. Unfortunately, the parameter in question was
    void * typed, so the compiler didn't notice my mistake.

:100644 100644 8c8ae17... 3c0c077... M	src/hid/gtk/gui-library-window.c

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

commit 07a98acbf1cb75536e777a9f240d5e338ce22f51
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/gtk: Fix crash in library window
    
    I missed a (GList *)->data dereference when converting to GList
    object storage. Unfortunately, the parameter in question was
    void * typed, so the compiler didn't notice my mistake.

diff --git a/src/hid/gtk/gui-library-window.c b/src/hid/gtk/gui-library-window.c
index 8c8ae17..3c0c077 100644
--- a/src/hid/gtk/gui-library-window.c
+++ b/src/hid/gtk/gui-library-window.c
@@ -405,7 +405,7 @@ out:
 
   /* update the preview with new symbol data */
   g_object_set (library_window->preview,
-		"element-data", PASTEBUFFER->Data->Element, NULL);
+		"element-data", PASTEBUFFER->Data->Element->data, NULL);
 }
 
 /*! \brief Requests re-evaluation of the filter.




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