[gtk+] a11y: Use more obvious function name



commit 2fdd420e780aae8565845c380d3d7b6f3a8ad89d
Author: Benjamin Otte <otte redhat com>
Date:   Mon Feb 24 15:19:00 2014 +0100

    a11y: Use more obvious function name

 gtk/a11y/gtktreeviewaccessible.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/a11y/gtktreeviewaccessible.c b/gtk/a11y/gtktreeviewaccessible.c
index e8bd1d1..915d84c 100644
--- a/gtk/a11y/gtktreeviewaccessible.c
+++ b/gtk/a11y/gtktreeviewaccessible.c
@@ -376,7 +376,7 @@ create_cell_accessible (GtkTreeView           *treeview,
   /* If there is not exactly one renderer in the list,
    * make a container
    */
-  if (renderer_list == NULL || renderer_list->next)
+  if (g_list_length (renderer_list) != 1)
     {
       GtkCellAccessible *container_cell;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]