[empathy: 3/12] Fixed crash when checking if an account has pending changes
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy: 3/12] Fixed crash when checking if an account has pending changes
- Date: Mon, 31 Aug 2009 14:06:50 +0000 (UTC)
commit 4c9f8ec9fb3173f3641ca344d3c743f582965a02
Author: Jonathan Tellier <jonathan tellier gmail com>
Date: Thu Aug 27 13:03:03 2009 -0400
Fixed crash when checking if an account has pending changes
src/empathy-accounts-dialog.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 08d6d22..abc2b4b 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]