aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-accounts-dialog.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-12-15 22:57:52 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-12-15 22:59:57 +0800
commitd55a1e75859e5aea911d2483fac21de714514163 (patch)
treef37b2f248487cbe4d381579c289417940ee7de73 /src/empathy-accounts-dialog.c
parentf6f81b5b1c229e7f2e1806519ae065675d5ec183 (diff)
downloadgsoc2013-empathy-d55a1e75859e5aea911d2483fac21de714514163.tar
gsoc2013-empathy-d55a1e75859e5aea911d2483fac21de714514163.tar.gz
gsoc2013-empathy-d55a1e75859e5aea911d2483fac21de714514163.tar.bz2
gsoc2013-empathy-d55a1e75859e5aea911d2483fac21de714514163.tar.lz
gsoc2013-empathy-d55a1e75859e5aea911d2483fac21de714514163.tar.xz
gsoc2013-empathy-d55a1e75859e5aea911d2483fac21de714514163.tar.zst
gsoc2013-empathy-d55a1e75859e5aea911d2483fac21de714514163.zip
use tp_account_get_path_suffix()
Diffstat (limited to 'src/empathy-accounts-dialog.c')
-rw-r--r--src/empathy-accounts-dialog.c5
1 files changed, 1 insertions, 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;
}