aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-06-07 21:35:11 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2009-06-07 21:35:11 +0800
commitd440d9ab734b45ffc651750a3d317e299c851821 (patch)
tree493f500033de665dae1e35f5c96ddb798fb198c3 /src
parent396aff97047f039c5bca8f3a0da13b9b295e657b (diff)
parent138ec18cd4c9deafd20d4e0b08c4d3dab07f7c10 (diff)
downloadgsoc2013-empathy-d440d9ab734b45ffc651750a3d317e299c851821.tar
gsoc2013-empathy-d440d9ab734b45ffc651750a3d317e299c851821.tar.gz
gsoc2013-empathy-d440d9ab734b45ffc651750a3d317e299c851821.tar.bz2
gsoc2013-empathy-d440d9ab734b45ffc651750a3d317e299c851821.tar.lz
gsoc2013-empathy-d440d9ab734b45ffc651750a3d317e299c851821.tar.xz
gsoc2013-empathy-d440d9ab734b45ffc651750a3d317e299c851821.tar.zst
gsoc2013-empathy-d440d9ab734b45ffc651750a3d317e299c851821.zip
Merge branch 'profile-chooser'
Diffstat (limited to 'src')
-rw-r--r--src/empathy-accounts-dialog.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index e311ac637..dcf6bcc96 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -183,7 +183,8 @@ accounts_dialog_update_account (EmpathyAccountsDialog *dialog,
accounts_dialog_model_select_first (dialog);
return;
}
- if (empathy_profile_chooser_n_profiles (dialog->combobox_profile) > 0) {
+ if (empathy_profile_chooser_n_profiles (
+ EMPATHY_PROFILE_CHOOSER (dialog->combobox_profile)) > 0) {
/* We have no account configured but we have some
* profiles instsalled. The user obviously wants to add
* an account. Click on the Add button for him. */
@@ -819,7 +820,8 @@ accounts_dialog_button_create_clicked_cb (GtkWidget *button,
gchar *str;
McProfileCapabilityFlags cap;
- profile = empathy_profile_chooser_dup_selected (dialog->combobox_profile);
+ profile = empathy_profile_chooser_dup_selected (
+ EMPATHY_PROFILE_CHOOSER (dialog->combobox_profile));
/* Create account */
account = mc_account_create (profile);
@@ -870,7 +872,8 @@ accounts_dialog_profile_changed_cb (GtkWidget *widget,
McProfile *profile;
McProfileCapabilityFlags cap;
- profile = empathy_profile_chooser_dup_selected (dialog->combobox_profile);
+ profile = empathy_profile_chooser_dup_selected (
+ EMPATHY_PROFILE_CHOOSER (dialog->combobox_profile));
cap = mc_profile_get_capabilities (profile);
if (cap & MC_PROFILE_CAPABILITY_REGISTRATION_UI) {