Rename register_lua_menu_bar_menu_items() to

register_menu_bar_menu_items(), to emphasize that it's not just for Lua.

svn path=/trunk/; revision=49548
This commit is contained in:
Guy Harris 2013-05-24 01:05:39 +00:00
parent dcdfc836c2
commit 3c41347f67
3 changed files with 3 additions and 3 deletions

View File

@ -633,7 +633,7 @@ static void register_menu_cb(const char *name,
label = name;
}
register_lua_menu_bar_menu_items(
register_menu_bar_menu_items(
stat_group_name(group), /* GUI path to the place holder in the menu */
name, /* Action name */
NULL, /* Stock id */

View File

@ -63,7 +63,7 @@ extern "C" {
*
* @param callback_data data for callback function
*/
void register_lua_menu_bar_menu_items(
void register_menu_bar_menu_items(
const char *gui_path,
const char *name,
const gchar *stock_id,

View File

@ -3644,7 +3644,7 @@ typedef struct _menu_item {
gboolean (*selected_tree_row_enabled)(field_info *, gpointer callback_data);
} menu_item_t;
void register_lua_menu_bar_menu_items(
void register_menu_bar_menu_items(
const char *gui_path,
const char *name,
const gchar *stock_id,