[seahorse] The void function should not return a value.



commit 15ab1c32de7060e505591279da1199c3d4d4ef48
Author: Jeff Cai <jeff cai sun com>
Date:   Fri Sep 18 10:20:32 2009 +0800

    The void function should not return a value.

 libseahorse/seahorse-view.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libseahorse/seahorse-view.c b/libseahorse/seahorse-view.c
index 8a31b76..9e4daf2 100644
--- a/libseahorse/seahorse-view.c
+++ b/libseahorse/seahorse-view.c
@@ -80,7 +80,7 @@ seahorse_view_register_commands (SeahorseView *self, SeahorseObjectPredicate *pr
                                  SeahorseCommands *commands)
 {
 	g_return_if_fail (SEAHORSE_VIEW_GET_INTERFACE (self)->register_commands);
-	return SEAHORSE_VIEW_GET_INTERFACE (self)->register_commands (self, pred, commands);
+	SEAHORSE_VIEW_GET_INTERFACE (self)->register_commands (self, pred, commands);
 }
 
 void
@@ -88,7 +88,7 @@ seahorse_view_register_ui (SeahorseView *self, SeahorseObjectPredicate *pred,
                            const gchar *ui_definition, GtkActionGroup *actions)
 {
 	g_return_if_fail (SEAHORSE_VIEW_GET_INTERFACE (self)->register_ui);
-	return SEAHORSE_VIEW_GET_INTERFACE (self)->register_ui (self, pred, ui_definition, actions);
+	SEAHORSE_VIEW_GET_INTERFACE (self)->register_ui (self, pred, ui_definition, actions);
 }
 
 static void 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]