mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
Don't return values from void functions
Sun CC does not take that lightly.
This commit is contained in:
parent
d0b429af48
commit
e52cf81042
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user