aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-accounts-dialog.c
diff options
context:
space:
mode:
authorJonathan Tellier <jonathan.tellier@gmail.com>2009-08-28 01:03:03 +0800
committerjtellier <jonathan.tellier@collabora.co.uk>2009-08-29 02:27:43 +0800
commit4c9f8ec9fb3173f3641ca344d3c743f582965a02 (patch)
treefe347a79da2004467c63c1f3846b3bb905b67812 /src/empathy-accounts-dialog.c
parent1855aa4b32cc4bf06f9dd748b5c1a24c25129f0b (diff)
downloadgsoc2013-empathy-4c9f8ec9fb3173f3641ca344d3c743f582965a02.tar
gsoc2013-empathy-4c9f8ec9fb3173f3641ca344d3c743f582965a02.tar.gz
gsoc2013-empathy-4c9f8ec9fb3173f3641ca344d3c743f582965a02.tar.bz2
gsoc2013-empathy-4c9f8ec9fb3173f3641ca344d3c743f582965a02.tar.lz
gsoc2013-empathy-4c9f8ec9fb3173f3641ca344d3c743f582965a02.tar.xz
gsoc2013-empathy-4c9f8ec9fb3173f3641ca344d3c743f582965a02.tar.zst
gsoc2013-empathy-4c9f8ec9fb3173f3641ca344d3c743f582965a02.zip
Fixed crash when checking if an account has pending changes
Diffstat (limited to 'src/empathy-accounts-dialog.c')
-rw-r--r--src/empathy-accounts-dialog.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 08d6d224e..abc2b4bbd 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -350,7 +350,8 @@ accounts_dialog_has_pending_change (EmpathyAccountsDialog *dialog,
&& empathy_account_widget_contains_pending_changes (
priv->setting_widget_object);
- g_object_unref (settings);
+ if (settings != NULL)
+ g_object_unref (settings);
return has_pending_changes;
}
@@ -906,8 +907,6 @@ accounts_dialog_account_selection_change (GtkTreeSelection *selection,
gboolean path_currently_selected,
gpointer data)
{
- g_message ("path_currently_selected: %d - path: %s", path_currently_selected, gtk_tree_path_to_string (path));
-
EmpathyAccount *account;
EmpathyAccountsDialog *dialog = EMPATHY_ACCOUNTS_DIALOG (data);
EmpathyAccountsDialogPriv *priv = GET_PRIV (dialog);