/[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 2470 by persson, Sun Sep 15 13:31:04 2013 UTC revision 2471 by persson, Sun Sep 15 17:06:45 2013 UTC
# Line 229  int GigEdit::run(int argc, char* argv[]) Line 229  int GigEdit::run(int argc, char* argv[])
229    
230      Gtk::Main kit(argc, argv);      Gtk::Main kit(argc, argv);
231    
232  #ifdef __APPLE__  #if HAVE_GETTEXT && defined(__APPLE__)
233      // Gtk::Main binds the gtk locale to a possible non-existent      // Gtk::Main binds the gtk locale to a possible non-existent
234      // directory. If we have bundled gtk locale files, we rebind here,      // directory. If we have bundled gtk locale files, we rebind here,
235      // after the Gtk::Main constructor.      // after the Gtk::Main constructor.
# Line 350  void GigEditState::main_loop_run(Cond* i Line 350  void GigEditState::main_loop_run(Cond* i
350      const char* argv_c[] = { "gigedit" };      const char* argv_c[] = { "gigedit" };
351      char** argv = const_cast<char**>(argv_c);      char** argv = const_cast<char**>(argv_c);
352      Gtk::Main main_loop(argc, argv);      Gtk::Main main_loop(argc, argv);
353  #ifdef __APPLE__  #if HAVE_GETTEXT && defined(__APPLE__)
354      if (!gigedit_localedir.empty()) {      if (!gigedit_localedir.empty()) {
355          bindtextdomain("gtk20", gigedit_localedir.c_str());          bindtextdomain("gtk20", gigedit_localedir.c_str());
356      }      }

Legend:
Removed from v.2470  
changed lines
  Added in v.2471

  ViewVC Help
Powered by ViewVC