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

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

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

revision 1339 by schoenebeck, Mon Sep 10 19:56:26 2007 UTC revision 1396 by schoenebeck, Wed Oct 10 15:48:54 2007 UTC
# Line 22  Line 22 
22  #include <gtkmm/main.h>  #include <gtkmm/main.h>
23  #include "mainwindow.h"  #include "mainwindow.h"
24    
25  #include <libintl.h>  #include "global.h"
 #include <config.h>  
26    
27  // the app has to work from a DLL as well, so we hard code argv  // the app has to work from a DLL as well, so we hard code argv
28  int argc = 1;  int argc = 1;
# Line 38  static void __init_app() { Line 37  static void __init_app() {
37          std::cout << "Initializing 3rd party services needed by gigedit.\n"          std::cout << "Initializing 3rd party services needed by gigedit.\n"
38                    << std::flush;                    << std::flush;
39          setlocale(LC_ALL, "");          setlocale(LC_ALL, "");
40    
41    #if HAVE_GETTEXT
42          bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);          bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
43          bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");          bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
44          textdomain(GETTEXT_PACKAGE);          textdomain(GETTEXT_PACKAGE);
45    #endif // HAVE_GETTEXT
46    
47          // make sure thread_init() is called once and ONLY once per process          // make sure thread_init() is called once and ONLY once per process
48          if (!Glib::thread_supported()) Glib::thread_init();          if (!Glib::thread_supported()) Glib::thread_init();
49    

Legend:
Removed from v.1339  
changed lines
  Added in v.1396

  ViewVC Help
Powered by ViewVC