Don't return values from void functions

Sun CC does not take that lightly.
This commit is contained in:
Matthias Clasen 2012-04-06 20:41:19 -04:00
parent d0b429af48
commit e52cf81042

View File

@ -101,8 +101,7 @@ void
g_action_map_add_action (GActionMap *action_map,
GAction *action)
{
return G_ACTION_MAP_GET_IFACE (action_map)
->add_action (action_map, action);
G_ACTION_MAP_GET_IFACE (action_map)->add_action (action_map, action);
}
/**
@ -120,8 +119,7 @@ void
g_action_map_remove_action (GActionMap *action_map,
const gchar *action_name)
{
return G_ACTION_MAP_GET_IFACE (action_map)
->remove_action (action_map, action_name);
G_ACTION_MAP_GET_IFACE (action_map)->remove_action (action_map, action_name);
}
/**