]> Pileus Git - ~andy/gtk/blobdiff - tests/testtreefocus.c
Add length to gtk_tree_path_get_indices
[~andy/gtk] / tests / testtreefocus.c
index 8baf12b3bdb44317b8d875f1a25509715bcb82e1..380cfa0f33258719253ce81adb1623920098aeb5 100644 (file)
@@ -330,7 +330,7 @@ set_indicator_size (GtkTreeViewColumn *column,
   GtkTreePath *path;
 
   path = gtk_tree_model_get_path (model, iter);
-  size = gtk_tree_path_get_indices (path)[0]  * 2 + 10;
+  size = gtk_tree_path_get_indices (path, NULL)[0]  * 2 + 10;
   gtk_tree_path_free (path);
 
   g_object_set (cell, "indicator_size", size, NULL);