It can happen, typically if no account is currently selected.
https://bugzilla.gnome.org/show_bug.cgi?id=671790
GtkWidget *subdialog, *content, *content_area, *align;
settings = accounts_dialog_model_get_selected_settings (dialog);
+ if (settings == NULL)
+ return;
subdialog = gtk_dialog_new_with_buttons (_("Edit Connection Parameters"),
GTK_WINDOW (dialog),
TpStorageRestrictionFlags storage_restrictions;
settings = accounts_dialog_model_get_selected_settings (dialog);
+ if (settings == NULL)
+ return;
account = empathy_account_settings_get_account (settings);
g_return_if_fail (account != NULL);