diff options
author | qarkai <qarkai@gmail.com> | 2019-10-14 00:40:05 +0300 |
---|---|---|
committer | qarkai <qarkai@gmail.com> | 2019-10-14 00:40:05 +0300 |
commit | d4b3fef0fc590cef932720e442ce934aec33c887 (patch) | |
tree | 27dc4de23406452f021fae2775056e3659bfa0a2 | |
parent | 6686c873d507e164710b6879e7d0d2bdbcec40a6 (diff) | |
download | pidgin-d4b3fef0fc590cef932720e442ce934aec33c887.tar.gz |
Make return clearer
-rw-r--r-- | pidgin/gtkaccount.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pidgin/gtkaccount.c b/pidgin/gtkaccount.c index b155a6c8ea..f685a4a58d 100644 --- a/pidgin/gtkaccount.c +++ b/pidgin/gtkaccount.c @@ -2208,7 +2208,6 @@ static gboolean populate_accounts_list(AccountsWindow *dialog) { GList *l; - gboolean ret = FALSE; GdkPixbuf *global_buddyicon = NULL; const char *path; @@ -2223,13 +2222,12 @@ populate_accounts_list(AccountsWindow *dialog) } l = purple_accounts_get_all(); - ret = l != NULL; g_list_foreach(l, (GFunc)add_account_to_liststore, global_buddyicon); if (global_buddyicon != NULL) g_object_unref(G_OBJECT(global_buddyicon)); - return ret; + return l != NULL; } static void |