From e52cf810426600fde8b92dc44482b9e19680dc43 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 6 Apr 2012 20:41:19 -0400 Subject: [PATCH] Don't return values from void functions Sun CC does not take that lightly. --- gio/gactionmap.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gio/gactionmap.c b/gio/gactionmap.c index bc463aa..3d4c481 100644 --- a/gio/gactionmap.c +++ b/gio/gactionmap.c @@ -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); } /** -- 2.7.4