Branch: refs/heads/master Author: LarsDW223 lars_paulsen@web.de Committer: LarsDW223 lars_paulsen@web.de Date: Mon, 02 Oct 2017 17:24:47 UTC Commit: 759f1fe2fab7350ab35dfc898c4e87ee3c76b1be https://github.com/geany/geany-plugins/commit/759f1fe2fab7350ab35dfc898c4e87...
Log Message: ----------- 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).