[gtk+] Don't use g_slist_next in gtktextlayout.c
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Don't use g_slist_next in gtktextlayout.c
- Date: Tue, 20 Oct 2015 10:17:20 +0000 (UTC)
commit 55bd936b73625bec776455e0559eef809c86dc04
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Oct 19 20:40:15 2015 -0400
Don't use g_slist_next in gtktextlayout.c
We generally use ->next directly.
gtk/gtktextlayout.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c
index e6a4ab9..185c1a0 100644
--- a/gtk/gtktextlayout.c
+++ b/gtk/gtktextlayout.c
@@ -1743,7 +1743,7 @@ add_child_attrs (GtkTextLayout *layout,
break;
}
- tmp_list = g_slist_next (tmp_list);
+ tmp_list = tmp_list->next;
}
if (tmp_list == NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]