Branch: refs/heads/master Author: Frank Lanitz frank@frank.uvena.de Committer: GitHub noreply@github.com Date: Tue, 03 Oct 2017 07:47:53 UTC Commit: a1e06ef1de55716f4deb754b9435490e811ac70b https://github.com/geany/geany-plugins/commit/a1e06ef1de55716f4deb754b943549...
Log Message: ----------- Merge pull request #610 from LarsGit223/gnylua_dep_real_path
geanylua: Replace deprecated tm_get_real_path().
Modified Paths: -------------- geanylua/glspi_app.c geanylua/gsdlg.c
Modified: geanylua/glspi_app.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -256,7 +256,7 @@ static gint glspi_fullpath(lua_State* L) const gchar *fn=NULL; if (!lua_isstring(L,1)) { return FAIL_STRING_ARG(1); } fn=lua_tostring(L,1); - rp=tm_get_real_path(fn); + rp=utils_get_real_path(fn); if (rp) { lua_pushstring(L,rp); g_free(rp);
Modified: geanylua/gsdlg.c 4 lines changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -106,7 +106,7 @@ static void file_btn_clicked(GtkButton *button, gpointer user_data) fn=gtk_entry_get_text(GTK_ENTRY(user_data)); if (fn && *fn) { if (g_file_test(fn,G_FILE_TEST_IS_REGULAR)) { - gchar *rp=tm_get_real_path(fn); + gchar *rp=utils_get_real_path(fn); gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dlg), rp); if (rp) g_free(rp); } else { @@ -115,7 +115,7 @@ static void file_btn_clicked(GtkButton *button, gpointer user_data) } else { gchar *dn=g_path_get_dirname(fn); if (g_file_test(dn,G_FILE_TEST_IS_DIR)) { - gchar *rp=tm_get_real_path(dn); + gchar *rp=utils_get_real_path(dn); gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(dlg), rp); if (rp) g_free(rp); bn=g_path_get_basename(fn);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org