[gedit] Fix warning



commit 97946cec752b91111cc8747ba26793f397d191ac
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Apr 15 17:28:31 2013 +0200

    Fix warning

 gedit/gedit-utils.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gedit/gedit-utils.c b/gedit/gedit-utils.c
index 5ca8fc5..0054da5 100644
--- a/gedit/gedit-utils.c
+++ b/gedit/gedit-utils.c
@@ -859,8 +859,9 @@ gedit_utils_get_window_workspace (GtkWindow *gtkwindow)
                        ret = workspace[0];
 
                XFree (workspace);
-               return ret;
        }
+
+       return ret;
 #else
        /* FIXME: on mac etc proably there are native APIs
         * to get the current workspace etc */


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