From 174de91c343dfbdfe866e566393bf4790ae22596 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 25 Oct 2003 19:27:09 +0000 Subject: use g_[s]list_next/previous consistantly, and check for "it" instead of "it != NULL" consistantly. props to Logan again :) --- openbox/place.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/place.c') diff --git a/openbox/place.c b/openbox/place.c index e4406482..6669a28e 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -346,7 +346,7 @@ static gboolean place_transient(ObClient *client, gint *x, gint *y) GSList *it; gboolean first = TRUE; gint l, r, t, b; - for (it = client->group->members; it; it = it->next) { + for (it = client->group->members; it; it = g_slist_next(it)) { ObClient *m = it->data; if (!(m == client || m->transient_for)) { if (first) { -- cgit v1.2.3