]> Dogcows Code - chaz/openbox/blobdiff - openbox/place.c
use g_[s]list_next/previous consistantly, and check for "it" instead of "it != NULL...
[chaz/openbox] / openbox / place.c
index e4406482b88c8cd5cafb371d1c37ceb48ddc77c5..6669a28e4c5fa42723c064e3acb527ed2c8f5ffc 100644 (file)
@@ -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) {
This page took 0.022581 seconds and 4 git commands to generate.