[empathy] use tp_account_get_path_suffix()
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] use tp_account_get_path_suffix()
- Date: Wed, 15 Dec 2010 15:57:45 +0000 (UTC)
commit d55a1e75859e5aea911d2483fac21de714514163
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Dec 15 15:57:52 2010 +0100
use tp_account_get_path_suffix()
src/empathy-accounts-dialog.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 8eda73b..8b025da 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]