diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-10-25 19:27:09 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-10-25 19:27:09 +0000 |
| commit | 174de91c343dfbdfe866e566393bf4790ae22596 (patch) | |
| tree | 6cfbe9eebbad2f8b4fe6ac8db10512eac76767f4 /openbox/place.c | |
| parent | 4cb183401cc42f61a759b02f1210a3528f7869e5 (diff) | |
use g_[s]list_next/previous consistantly, and check for "it" instead of "it != NULL" consistantly. props to Logan again :)
Diffstat (limited to 'openbox/place.c')
| -rw-r--r-- | openbox/place.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
