Skip to content
Snippets Groups Projects
Commit 1ba359fd authored by mh17's avatar mh17
Browse files

fix to RC feautre menu show DNA crash RT123891

parent a2b786d8
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@
* HISTORY:
* Last edited: Jan 14 10:10 2010 (edgrif)
* Created: 2009-11-26 12:02:40 (mh17)
* CVS info: $Id: pipeServer.c,v 1.13 2010-01-25 12:03:32 mh17 Exp $
* CVS info: $Id: pipeServer.c,v 1.14 2010-01-26 13:44:38 mh17 Exp $
*-------------------------------------------------------------------
*/
......@@ -568,7 +568,7 @@ static ZMapServerResponseType getFeatures(void *server_in, GData *styles, ZMapFe
{
/* SHOULD ABORT HERE.... */
setErrMsg(server,
g_strdup_printf("zMapGFFParseLine() failed with no GError for line %d: %s",
g_strdup_printf("zMapGFFParseHeader() failed with no GError for line %d: %s",
zMapGFFGetLineNumber(get_features.parser), get_features.gff_line->str)) ;
ZMAPPIPESERVER_LOG(Critical, server->protocol, server->script_path,server->query,
"%s", server->last_err_msg) ;
......@@ -767,7 +767,7 @@ static ZMapServerResponseType getContextSequence(void *server_in, GData *styles,
{
/* SHOULD ABORT HERE.... */
setErrMsg(server,
g_strdup_printf("zMapGFFParseLine() failed with no GError for line %d: %s",
g_strdup_printf("zMapGFFParseHeader() failed with no GError for line %d: %s",
zMapGFFGetLineNumber(get_features.parser), get_features.gff_line->str)) ;
ZMAPPIPESERVER_LOG(Critical, server->protocol, server->script_path,server->query,
"%s", server->last_err_msg) ;
......
......@@ -29,7 +29,7 @@
* HISTORY:
* Last edited: Jan 22 13:55 2010 (edgrif)
* Created: Thu Mar 10 07:56:27 2005 (edgrif)
* CVS info: $Id: zmapWindowMenus.c,v 1.66 2010-01-22 13:56:08 edgrif Exp $
* CVS info: $Id: zmapWindowMenus.c,v 1.67 2010-01-26 13:44:38 mh17 Exp $
*-------------------------------------------------------------------
*/
......@@ -360,7 +360,8 @@ static void dnaMenuCB(int menu_item_id, gpointer callback_data)
char *seq_name, *molecule_type = NULL, *gene_name = NULL ;
int seq_len ;
feature = (ZMapFeature)zMapWindowCanvasItemIntervalGetObject(menu_data->item) ;
// feature = (ZMapFeature)zMapWindowCanvasItemIntervalGetObject(menu_data->item) ;
feature = zMapWindowCanvasItemGetFeature(menu_data->item); // this function is used to get the feature in the function that makes this menu
context = menu_data->window->feature_context ;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment