[anjuta] Fix void function cannot return value (bgo #581416)



commit d308859a1e75d02766b4fe012953689a1d4b64bb
Author: Johannes Schmid <jhs gnome org>
Date:   Tue May 5 09:53:47 2009 +0200

    Fix void function cannot return value (bgo #581416)
    
    Removed "return" on inteface methods that return void
---
 libanjuta/anjuta-shell.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libanjuta/anjuta-shell.c b/libanjuta/anjuta-shell.c
index dd3b152..64a039d 100644
--- a/libanjuta/anjuta-shell.c
+++ b/libanjuta/anjuta-shell.c
@@ -765,7 +765,7 @@ void anjuta_shell_saving_push	    (AnjutaShell* shell)
 {
 	g_return_if_fail (ANJUTA_IS_SHELL (shell));
 	
-	return ANJUTA_SHELL_GET_IFACE (shell)->saving_push (shell);
+	ANJUTA_SHELL_GET_IFACE (shell)->saving_push (shell);
 }
 
 /**
@@ -779,7 +779,7 @@ void anjuta_shell_saving_pop	    (AnjutaShell* shell)
 {
 	g_return_if_fail (ANJUTA_IS_SHELL (shell));
 
-	return ANJUTA_SHELL_GET_IFACE (shell)->saving_pop (shell);
+	ANJUTA_SHELL_GET_IFACE (shell)->saving_pop (shell);
 }
 
 void



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