[gnome-commander/ConvertWarningsToErrors] Revert 49ffe03, includes gnome-cmd-convert.h in its cc file



commit fafc7ea07756dc369a81b9d7ba2eed94b6b1a64b
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sat Apr 22 16:37:01 2017 +0200

    Revert 49ffe03, includes gnome-cmd-convert.h in its cc file

 src/gnome-cmd-convert.cc |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/src/gnome-cmd-convert.cc b/src/gnome-cmd-convert.cc
index 0a57895..3d421f6 100644
--- a/src/gnome-cmd-convert.cc
+++ b/src/gnome-cmd-convert.cc
@@ -23,6 +23,7 @@
 
 #include "gnome-cmd-includes.h"
 #include "utils.h"
+#include "gnome-cmd-convert.h"
 
 using namespace std;
 
@@ -52,13 +53,13 @@ inline gint word_is_roman_numeral (gchar *text)
 }
 
 
-static gchar *gcmd_convert_unchanged (gchar *string)
+gchar *gcmd_convert_unchanged (gchar *string)
 {
     return string;
 }
 
 
-static gchar *gcmd_convert_ltrim (gchar *string)
+gchar *gcmd_convert_ltrim (gchar *string)
 {
     if (!string || !*string)
         return string;
@@ -67,7 +68,7 @@ static gchar *gcmd_convert_ltrim (gchar *string)
 }
 
 
-static gchar *gcmd_convert_rtrim (gchar *string)
+gchar *gcmd_convert_rtrim (gchar *string)
 {
     if (!string || !*string)
         return string;
@@ -76,7 +77,7 @@ static gchar *gcmd_convert_rtrim (gchar *string)
 }
 
 
-static gchar *gcmd_convert_strip (gchar *string)
+gchar *gcmd_convert_strip (gchar *string)
 {
     if (!string || !*string)
         return string;
@@ -85,7 +86,7 @@ static gchar *gcmd_convert_strip (gchar *string)
 }
 
 
-static gchar *gcmd_convert_lowercase (gchar *string)
+gchar *gcmd_convert_lowercase (gchar *string)
 {
     if (!string || !*string)
         return string;
@@ -98,7 +99,7 @@ static gchar *gcmd_convert_lowercase (gchar *string)
 }
 
 
-static gchar *gcmd_convert_uppercase (gchar *string)
+gchar *gcmd_convert_uppercase (gchar *string)
 {
     if (!string || !*string)
         return string;
@@ -113,7 +114,7 @@ static gchar *gcmd_convert_uppercase (gchar *string)
 
 // Function to set the first letter of each word to uppercase, according the "Chicago Manual of Style" 
(http://www.chicagomanualofstyle.org/)
 // No needed to reallocate
-static gchar *gcmd_convert_sentence_case (gchar *string)
+gchar *gcmd_convert_sentence_case (gchar *string)
 {
     if (!string || !*string)
         return string;
@@ -229,7 +230,7 @@ static gchar *gcmd_convert_sentence_case (gchar *string)
 }
 
 
-static gchar *gcmd_convert_initial_caps (gchar *string)
+gchar *gcmd_convert_initial_caps (gchar *string)
 {
     if (!string || !*string)
         return string;
@@ -284,7 +285,7 @@ static gchar *gcmd_convert_initial_caps (gchar *string)
 }
 
 
-static gchar *gcmd_convert_toggle_case (gchar *string)
+gchar *gcmd_convert_toggle_case (gchar *string)
 {
     return string;
 }


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