From d55a1e75859e5aea911d2483fac21de714514163 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 15 Dec 2010 15:57:52 +0100 Subject: use tp_account_get_path_suffix() --- src/empathy-accounts-dialog.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index 8eda73bb4..8b025da4e 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -2314,11 +2314,8 @@ empathy_accounts_dialog_show_application (GdkScreen *screen, if (selected_account != NULL) { - const gchar *account_path; - - account_path = tp_proxy_get_object_path (TP_PROXY (selected_account)); account_option = g_strdup_printf ("--select-account=%s", - &account_path[strlen (TP_ACCOUNT_OBJECT_PATH_BASE)]); + tp_account_get_path_suffix (selected_account)); argv[i++] = account_option; } -- cgit v1.2.3