[Xfce4-commits] [apps/mousepad] 02/04: Fix revert file

noreply at xfce.org noreply at xfce.org
Sat Feb 28 13:48:44 CET 2015


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository apps/mousepad.

commit eb8a943164aa0582c959a4cb7b3c887dc024deaa
Author: Andre Miranda <andreldm1989 at gmail.com>
Date:   Fri Sep 5 19:14:28 2014 -0300

    Fix revert file
---
 mousepad/mousepad-file.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mousepad/mousepad-file.c b/mousepad/mousepad-file.c
index 667492c..b44acec 100644
--- a/mousepad/mousepad-file.c
+++ b/mousepad/mousepad-file.c
@@ -863,7 +863,7 @@ mousepad_file_reload (MousepadFile  *file,
                       GError       **error)
 {
   GtkTextIter start, end;
-  gboolean    succeed = FALSE;
+  gint        succeed;
 
   g_return_val_if_fail (MOUSEPAD_IS_FILE (file), FALSE);
   g_return_val_if_fail (GTK_IS_TEXT_BUFFER (file->buffer), FALSE);
@@ -887,7 +887,7 @@ mousepad_file_reload (MousepadFile  *file,
   /* reload the file */
   succeed = mousepad_file_open (file, NULL, error);
 
-  return succeed;
+  return (succeed == 0);
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list