mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 23:16: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,
|
g_action_map_add_action (GActionMap *action_map,
|
||||||
GAction *action)
|
GAction *action)
|
||||||
{
|
{
|
||||||
return G_ACTION_MAP_GET_IFACE (action_map)
|
G_ACTION_MAP_GET_IFACE (action_map)->add_action (action_map, action);
|
||||||
->add_action (action_map, action);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -120,8 +119,7 @@ void
|
|||||||
g_action_map_remove_action (GActionMap *action_map,
|
g_action_map_remove_action (GActionMap *action_map,
|
||||||
const gchar *action_name)
|
const gchar *action_name)
|
||||||
{
|
{
|
||||||
return G_ACTION_MAP_GET_IFACE (action_map)
|
G_ACTION_MAP_GET_IFACE (action_map)->remove_action (action_map, action_name);
|
||||||
->remove_action (action_map, action_name);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user