~midori/midori/trunk

« back to all changes in this revision

Viewing changes to midori/midori-app.c

  • Committer: tuxator at o2
  • Date: 2015-06-24 19:23:51 UTC
  • mto: This revision was merged to the branch mainline in revision 6977.
  • Revision ID: tuxator@o2.pl-20150624192351-0a8ez84vrpxa0i4f
Win32: Use Dr. MinGW if present to preserve crash info

Show diffs side-by-side

added added

removed removed

Lines of Context:
1223
1223
    /* Preserve argument vector */
1224
1224
    midori_paths_init_exec_path (*argument_vector, *argc);
1225
1225
 
 
1226
    #ifdef G_OS_WIN32
 
1227
    {
 
1228
        gchar* exec_dir = g_win32_get_package_installation_directory_of_module (NULL);
 
1229
        gchar* dr_mingw_dll = g_build_filename (exec_dir, "bin", "exchndl.dll", NULL);
 
1230
 
 
1231
        if (g_file_test (dr_mingw_dll, G_FILE_TEST_EXISTS)) {
 
1232
            LoadLibrary(dr_mingw_dll);
 
1233
        }
 
1234
        g_free (exec_dir);
 
1235
        g_free (dr_mingw_dll);
 
1236
    }
 
1237
    #endif
 
1238
 
1226
1239
    #if ENABLE_NLS
1227
1240
    if (g_getenv ("MIDORI_NLSPATH"))
1228
1241
        bindtextdomain (GETTEXT_PACKAGE, g_getenv ("MIDORI_NLSPATH"));