aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-accounts-dialog.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-23 00:22:23 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-23 01:54:39 +0800
commitb72ead7076cd2ba308d32f0ae42fc50efc82bd51 (patch)
treed4b7634cd11d28bb6ce2febefdbecb01e1c38ca0 /src/empathy-accounts-dialog.c
parentbd062af39b10bb87d86b9561001f4ab9184e037d (diff)
downloadgsoc2013-empathy-b72ead7076cd2ba308d32f0ae42fc50efc82bd51.tar
gsoc2013-empathy-b72ead7076cd2ba308d32f0ae42fc50efc82bd51.tar.gz
gsoc2013-empathy-b72ead7076cd2ba308d32f0ae42fc50efc82bd51.tar.bz2
gsoc2013-empathy-b72ead7076cd2ba308d32f0ae42fc50efc82bd51.tar.lz
gsoc2013-empathy-b72ead7076cd2ba308d32f0ae42fc50efc82bd51.tar.xz
gsoc2013-empathy-b72ead7076cd2ba308d32f0ae42fc50efc82bd51.tar.zst
gsoc2013-empathy-b72ead7076cd2ba308d32f0ae42fc50efc82bd51.zip
Remove dead code and fix some coding style issues
Diffstat (limited to 'src/empathy-accounts-dialog.c')
-rw-r--r--src/empathy-accounts-dialog.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index ad96ba921..40f46e49e 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -644,7 +644,6 @@ accounts_dialog_model_add_columns (EmpathyAccountsDialog *dialog)
/* Account column */
column = gtk_tree_view_column_new ();
- //gtk_tree_view_column_set_title (column, _("Accounts"));
gtk_tree_view_column_set_expand (column, TRUE);
gtk_tree_view_append_column (view, column);
@@ -711,7 +710,6 @@ static void
accounts_dialog_model_selection_changed (GtkTreeSelection *selection,
EmpathyAccountsDialog *dialog)
{
-// EmpathyAccountsDialogPriv priv = GET_PRIV (dialog);
EmpathyAccountSettings *settings;
GtkTreeModel *model;
GtkTreeIter iter;
@@ -726,7 +724,7 @@ accounts_dialog_model_selection_changed (GtkTreeSelection *selection,
accounts_dialog_update_settings (dialog, settings);
- if (settings)
+ if (settings != NULL)
g_object_unref (settings);
}