diff options
author | Felix Kaser <f.kaser@gmx.net> | 2009-11-10 21:04:18 +0800 |
---|---|---|
committer | Felix Kaser <f.kaser@gmx.net> | 2009-11-10 22:26:19 +0800 |
commit | b51918d47bda93b4c4cbbc6763f64bd1fdf7e5f0 (patch) | |
tree | 3648313a5960a6494794f707bc3876ee75926ee2 | |
parent | c408acfee13af60ac62f3f2d51b35c3fc6a9f128 (diff) | |
download | gsoc2013-empathy-b51918d47bda93b4c4cbbc6763f64bd1fdf7e5f0.tar gsoc2013-empathy-b51918d47bda93b4c4cbbc6763f64bd1fdf7e5f0.tar.gz gsoc2013-empathy-b51918d47bda93b4c4cbbc6763f64bd1fdf7e5f0.tar.bz2 gsoc2013-empathy-b51918d47bda93b4c4cbbc6763f64bd1fdf7e5f0.tar.lz gsoc2013-empathy-b51918d47bda93b4c4cbbc6763f64bd1fdf7e5f0.tar.xz gsoc2013-empathy-b51918d47bda93b4c4cbbc6763f64bd1fdf7e5f0.tar.zst gsoc2013-empathy-b51918d47bda93b4c4cbbc6763f64bd1fdf7e5f0.zip |
use new tpAccount api
-rw-r--r-- | src/empathy-main-window.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index ee0fd0f58..35ea976d3 100644 --- a/src/empathy-main-window.c +++ b/src/empathy-main-window.c @@ -314,7 +314,7 @@ main_window_error_retry_clicked_cb (GtkButton *button, GtkWidget *error_widget; account = g_object_get_data (G_OBJECT (button), "account"); - empathy_account_reconnect_async (account, NULL, NULL); + tp_account_reconnect_async (account, NULL, NULL); error_widget = g_hash_table_lookup (window->errors, account); gtk_widget_destroy (error_widget); @@ -325,7 +325,7 @@ static void main_window_error_edit_clicked_cb (GtkButton *button, EmpathyMainWindow *window) { - EmpathyAccount *account; + TpAccount *account; GtkWidget *error_widget; account = g_object_get_data (G_OBJECT (button), "account"); @@ -340,7 +340,7 @@ static void main_window_error_close_clicked_cb (GtkButton *button, EmpathyMainWindow *window) { - EmpathyAccount *account; + TpAccount *account; GtkWidget *error_widget; account = g_object_get_data (G_OBJECT (button), "account"); @@ -368,7 +368,7 @@ main_window_error_display (EmpathyMainWindow *window, const gchar *icon_name; str = g_markup_printf_escaped ("<b>%s</b>\n%s", - empathy_account_get_display_name (account), + tp_account_get_display_name (account), message); info_bar = g_hash_table_lookup (window->errors, account); @@ -389,7 +389,7 @@ main_window_error_display (EmpathyMainWindow *window, gtk_box_pack_start (GTK_BOX (window->errors_vbox), info_bar, FALSE, TRUE, 0); gtk_widget_show (info_bar); - icon_name = empathy_account_get_icon_name (account); + icon_name = tp_account_get_icon_name (account); image = gtk_image_new_from_icon_name (icon_name, GTK_ICON_SIZE_SMALL_TOOLBAR); gtk_widget_show (image); |