Problem about removing the menuitem which calls the popup menu

Edward Sung <[email protected]>
Newsgroups gmane.comp.video.picogui.devel
Message-ID <[email protected]>
Hi Micah and all,

 

I got an error about implementing an action.  The action is: I 
created three menuitems one by one and the popup menu(called by  
pgNewPopupAt 
<http://old.picogui.org/doc/doxygen/cli_c/html/group__pgobjects.html#a13> 
) will be showed as I clicked one of the menuitems.  One of the 
choices of the popup menu was to remove the menuitem which had called 
this popup menu.  The error was occurred (Segmentation fault in client 
side) when I chose this remove action.  I traced where created this 
error and I found that the error is occurred in DispatchEvent function.  
The address of n->next in DispatchEvent became strange when I removed 
the menuitem which called this popup menu.  Is it a bug? How to solve 
it? I have modify it before but fail.

Thanks.

 

Best Regards,

 

Rex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.