diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-06-05 19:45:45 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-06-06 17:27:36 +0800 |
commit | ef7ff08c2013a8c1a564bde2c16d0e20414f93c4 (patch) | |
tree | b9c223afbe0ab3ff4c2a176932d881a79a49bd65 /libempathy-gtk | |
parent | d19116af7de4cc76530bd83a1e5034fbd2cd34d6 (diff) | |
download | gsoc2013-empathy-ef7ff08c2013a8c1a564bde2c16d0e20414f93c4.tar gsoc2013-empathy-ef7ff08c2013a8c1a564bde2c16d0e20414f93c4.tar.gz gsoc2013-empathy-ef7ff08c2013a8c1a564bde2c16d0e20414f93c4.tar.bz2 gsoc2013-empathy-ef7ff08c2013a8c1a564bde2c16d0e20414f93c4.tar.lz gsoc2013-empathy-ef7ff08c2013a8c1a564bde2c16d0e20414f93c4.tar.xz gsoc2013-empathy-ef7ff08c2013a8c1a564bde2c16d0e20414f93c4.tar.zst gsoc2013-empathy-ef7ff08c2013a8c1a564bde2c16d0e20414f93c4.zip |
empathy_account_settings_get_tp_protocol: return a TpProtocol
https://bugzilla.gnome.org/show_bug.cgi?id=677465
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-account-widget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c index 014d5a3db..83a225350 100644 --- a/libempathy-gtk/empathy-account-widget.c +++ b/libempathy-gtk/empathy-account-widget.c @@ -1819,7 +1819,7 @@ static void add_register_buttons (EmpathyAccountWidget *self, TpAccount *account) { - const TpConnectionManagerProtocol *protocol; + TpProtocol *protocol; GtkWidget *radiobutton_register; if (!self->priv->creating_account) @@ -1829,7 +1829,7 @@ add_register_buttons (EmpathyAccountWidget *self, if (protocol == NULL) return; - if (!tp_connection_manager_protocol_can_register (protocol)) + if (!tp_protocol_can_register (protocol)) return; if (account_widget_get_service (self) != NO_SERVICE) |