/[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 3067 by persson, Sun Oct 30 17:02:51 2016 UTC revision 3068 by schoenebeck, Mon Jan 2 22:13:01 2017 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (C) 2007-2015 Andreas Persson   * Copyright (C) 2007-2017 Andreas Persson
3   *   *
4   * This program is free software; you can redistribute it and/or   * This program is free software; you can redistribute it and/or
5   * modify it under the terms of the GNU General Public License as   * modify it under the terms of the GNU General Public License as
# Line 147  void init_app() { Line 147  void init_app() {
147          // under the same dir as the gigedit dylib is installed in.          // under the same dir as the gigedit dylib is installed in.
148          Dl_info info;          Dl_info info;
149          if (dladdr((void*)&init_app, &info)) {          if (dladdr((void*)&init_app, &info)) {
150    #ifdef CONFIG_FORCE_GTK_LIBDIR
151                std::string libdir = CONFIG_FORCE_GTK_LIBDIR;
152    #else
153              std::string libdir = Glib::path_get_dirname(info.dli_fname);              std::string libdir = Glib::path_get_dirname(info.dli_fname);
154    #endif
155    
156              if (Glib::getenv("PANGO_SYSCONFDIR") == "" &&              if (Glib::getenv("PANGO_SYSCONFDIR") == "" &&
157                  Glib::file_test(Glib::build_filename(libdir,                  Glib::file_test(Glib::build_filename(libdir,

Legend:
Removed from v.3067  
changed lines
  Added in v.3068

  ViewVC Help
Powered by ViewVC