Skip to content
Snippets Groups Projects
Commit 71e2845e authored by rds's avatar rds
Browse files

keeping up with the feature context execute changes.

parent 8747252f
No related branches found
No related tags found
No related merge requests found
......@@ -27,9 +27,9 @@
* Exported functions: ZMap/zmapWindows.h
*
* HISTORY:
* Last edited: Aug 8 16:01 2006 (edgrif)
* Last edited: Oct 18 08:24 2006 (rds)
* Created: Thu Mar 10 07:56:27 2005 (edgrif)
* CVS info: $Id: zmapWindowMenus.c,v 1.20 2006-08-10 15:16:27 edgrif Exp $
* CVS info: $Id: zmapWindowMenus.c,v 1.21 2006-10-18 15:24:40 rds Exp $
*-------------------------------------------------------------------
*/
......@@ -82,9 +82,10 @@ static void insertSubMenus(GString *branch_point_string,
ZMapGUIMenuItem sub_menus,
ZMapGUIMenuItem item,
GArray **items_array);
static void alignBlockMenusDataListForeach(GQuark key,
gpointer data,
gpointer user_data);
static ZMapFeatureContextExecuteStatus alignBlockMenusDataListForeach(GQuark key,
gpointer data,
gpointer user_data,
char **error_out);
......@@ -134,10 +135,6 @@ ZMapGUIMenuItem zmapWindowMakeMenuBump(int *start_index_inout,
{ZMAPGUI_MENU_NONE, NULL, 0, NULL, NULL}
} ;
ZMapGUIMenuItem item ;
#ifdef ED_G_NEVER_INCLUDE_THIS_CODE
ItemMenuCBData menu_data = (ItemMenuCBData)callback_data ;
#endif /* ED_G_NEVER_INCLUDE_THIS_CODE */
/* Set the initial toggle button correctly....make sure this stays in step with the array above.
* NOTE logic, this button is either "no bump" or "Name + No Overlap", the latter should be
......@@ -1036,9 +1033,10 @@ static void insertSubMenus(GString *branch_point_string,
}
static void alignBlockMenusDataListForeach(GQuark key,
gpointer data,
gpointer user_data)
static ZMapFeatureContextExecuteStatus alignBlockMenusDataListForeach(GQuark key,
gpointer data,
gpointer user_data,
char **error_out)
{
ZMapFeatureAny feature_any = (ZMapFeatureAny)data;
ZMapFeatureStructType feature_type = ZMAPFEATURE_STRUCT_INVALID;
......@@ -1124,7 +1122,7 @@ static void alignBlockMenusDataListForeach(GQuark key,
g_free(item);
return ;
return ZMAP_CONTEXT_EXEC_STATUS_OK;
}
......
......@@ -28,9 +28,9 @@
*
* Exported functions: See zmapWindow_P.h
* HISTORY:
* Last edited: Sep 22 12:20 2006 (edgrif)
* Last edited: Sep 26 10:42 2006 (rds)
* Created: Fri Aug 12 16:53:21 2005 (edgrif)
* CVS info: $Id: zmapWindowSearch.c,v 1.16 2006-09-26 08:51:21 edgrif Exp $
* CVS info: $Id: zmapWindowSearch.c,v 1.17 2006-10-18 15:25:23 rds Exp $
*-------------------------------------------------------------------
*/
......@@ -138,6 +138,8 @@ static void fetchAllComboLists(ZMapFeatureAny feature_any,
GList **align_list_out,
GList **block_list_out,
GList **set_list_out);
static ZMapFeatureContextExecuteStatus fillAllComboList(GQuark key, gpointer data,
gpointer user_data, char **err_out);
static GList *getStyleQuarks(GList *styles) ;
static void getQuark(gpointer data, gpointer user_data) ;
......@@ -962,7 +964,8 @@ static GtkWidget *createPopulateComboBox(GList *list, gboolean quarks)
return combo;
}
static void fillAllComboList(GQuark key, gpointer data, gpointer user_data)
static ZMapFeatureContextExecuteStatus fillAllComboList(GQuark key, gpointer data,
gpointer user_data, char **err_out)
{
ZMapFeatureAny feature_any = (ZMapFeatureAny)data;
AllComboLists all_data = (AllComboLists)user_data;
......@@ -994,7 +997,7 @@ static void fillAllComboList(GQuark key, gpointer data, gpointer user_data)
break;
}
return ;
return ZMAP_CONTEXT_EXEC_STATUS_OK;
}
static void fetchAllComboLists(ZMapFeatureAny feature_any,
......
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