new MenuItem attribute char* successor_id

This commit is contained in:
boercher
2005-06-01 22:45:24 +00:00
parent f1d5e0fa82
commit 902088872f
2 changed files with 9 additions and 0 deletions
+1
View File
@@ -150,6 +150,7 @@ MenuItem *menuitem_create (MenuItemType type, char *id, MenuEventFunc(*event_fun
free (new_item);
return NULL;
}
new_item->successor_id = NULL;
new_item->parent = NULL;
new_item->event_func = event_func;
new_item->text = strdup (text);