if (math_view->action_element == NULL) return 0; else return math_view->action_element->GetSelectedIndex();
if (math_view->action_node == NULL) return 0;  MathMLActionElement* action_element = TO_ACTION(findMathMLElement(math_view->action_node)); assert(action_element != NULL); return action_element->GetSelectedIndex();
gtk_math_view_action_get_selected(GtkMathView* math_view){  g_return_val_if_fail(math_view != NULL, 0);  if (math_view->action_element == NULL) return 0;  else return math_view->action_element->GetSelectedIndex();}