Updating branch refs/heads/thunarx-2 to b1c4e4b22ccce35cc2f9000663155de542aa5b7f (commit) from 7ad4d3df2c23f6acc2679f6f7da6c3dda390a880 (commit)
commit b1c4e4b22ccce35cc2f9000663155de542aa5b7f Author: Peter de Ridder <pe...@xfce.org> Date: Sat Nov 7 18:25:49 2009 +0100 * tvp-git-helper/tgh-{add,blame,clean,log,reset}.c: Changed deprecated g_dirname in g_path_get_dirname. * tvp-git-helper/tgh-reset.c: Don't pass dialog as parent for the error dialog. tvp-git-helper/tgh-add.c | 2 +- tvp-git-helper/tgh-blame.c | 2 +- tvp-git-helper/tgh-clean.c | 2 +- tvp-git-helper/tgh-log.c | 2 +- tvp-git-helper/tgh-reset.c | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tvp-git-helper/tgh-add.c b/tvp-git-helper/tgh-add.c index f55816d..76dd80c 100644 --- a/tvp-git-helper/tgh-add.c +++ b/tvp-git-helper/tgh-add.c @@ -93,7 +93,7 @@ gboolean tgh_add (gchar **files, GPid *pid) if (files) if (chdir(files[0])) { - gchar *dirname = g_dirname (files[0]); + gchar *dirname = g_path_get_dirname (files[0]); if (chdir(dirname)) { g_free (dirname); diff --git a/tvp-git-helper/tgh-blame.c b/tvp-git-helper/tgh-blame.c index af4c6dd..61b3b2e 100644 --- a/tvp-git-helper/tgh-blame.c +++ b/tvp-git-helper/tgh-blame.c @@ -77,7 +77,7 @@ gboolean tgh_blame (gchar **files, GPid *pid) if (chdir(files[0])) { - gchar *dirname = g_dirname (files[0]); + gchar *dirname = g_path_get_dirname (files[0]); if (chdir(dirname)) { g_free (dirname); diff --git a/tvp-git-helper/tgh-clean.c b/tvp-git-helper/tgh-clean.c index ca1fa53..632ee5c 100644 --- a/tvp-git-helper/tgh-clean.c +++ b/tvp-git-helper/tgh-clean.c @@ -116,7 +116,7 @@ gboolean tgh_clean (gchar **files, GPid *pid) if (files) if (chdir(files[0])) { - gchar *dirname = g_dirname (files[0]); + gchar *dirname = g_path_get_dirname (files[0]); if (chdir(dirname)) { g_free (dirname); diff --git a/tvp-git-helper/tgh-log.c b/tvp-git-helper/tgh-log.c index a3a7727..f9d1918 100644 --- a/tvp-git-helper/tgh-log.c +++ b/tvp-git-helper/tgh-log.c @@ -103,7 +103,7 @@ gboolean tgh_log (gchar **files, GPid *pid) if (files) if (chdir(files[0])) { - gchar *dirname = g_dirname (files[0]); + gchar *dirname = g_path_get_dirname (files[0]); if (chdir(dirname)) { g_free (dirname); diff --git a/tvp-git-helper/tgh-reset.c b/tvp-git-helper/tgh-reset.c index 7a4414d..0bd1e7f 100644 --- a/tvp-git-helper/tgh-reset.c +++ b/tvp-git-helper/tgh-reset.c @@ -89,7 +89,7 @@ static gboolean reset_spawn (GtkWidget *dialog, gchar **files, GPid *pid) } g_free (argv); - parser = tgh_error_parser_new(GTK_WIDGET(dialog)); + parser = tgh_error_parser_new(NULL); args = g_new(struct exit_args, 1); args->parser = parser; @@ -110,7 +110,7 @@ gboolean tgh_reset (gchar **files, GPid *pid) if (files) if (chdir(files[0])) { - gchar *dirname = g_dirname (files[0]); + gchar *dirname = g_path_get_dirname (files[0]); if (chdir(dirname)) { g_free (dirname); _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits