/[svn]/gigedit/trunk/src/gigedit/paramedit.cpp
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/paramedit.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3150 by persson, Sun Sep 20 08:49:40 2015 UTC revision 3151 by schoenebeck, Fri May 5 18:44:59 2017 UTC
# Line 17  Line 17 
17   * 02110-1301 USA.   * 02110-1301 USA.
18   */   */
19    
 #include <cstring>  
   
 #include <glibmmconfig.h>  
 // threads.h must be included first to be able to build with  
 // G_DISABLE_DEPRECATED  
 #if (GLIBMM_MAJOR_VERSION == 2 && GLIBMM_MINOR_VERSION == 31 && GLIBMM_MICRO_VERSION >= 2) || \  
     (GLIBMM_MAJOR_VERSION == 2 && GLIBMM_MINOR_VERSION > 31) || GLIBMM_MAJOR_VERSION > 2  
 #include <glibmm/threads.h>  
 #endif  
   
20  #include "paramedit.h"  #include "paramedit.h"
21    
22  #include "global.h"  #include "global.h"
# Line 35  Line 25 
25    
26  #include <gtkmm/messagedialog.h>  #include <gtkmm/messagedialog.h>
27    
 std::string gig_encoding("CP1252");  
   
 Glib::ustring gig_to_utf8(const gig::String& gig_string) {  
     return Glib::convert_with_fallback(gig_string, "UTF-8", gig_encoding, "?");  
 }  
   
 gig::String gig_from_utf8(const Glib::ustring& utf8_string) {  
     return Glib::convert_with_fallback(utf8_string, gig_encoding, "UTF-8", "?");  
 }  
   
   
28  namespace {  namespace {
29      struct CCText {      struct CCText {
30          const char* const txt;          const char* const txt;

Legend:
Removed from v.3150  
changed lines
  Added in v.3151

  ViewVC Help
Powered by ViewVC