From 8e72403ca6f0796a8a44daf6a15db34ad9f8a282 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Wed, 13 Jan 2010 16:59:37 +0100 Subject: Remove plist-utils as that functionality is now provided by libplist --- src/gnome-plist-editor.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gnome-plist-editor.c') diff --git a/src/gnome-plist-editor.c b/src/gnome-plist-editor.c index 6badefb..c2de09d 100644 --- a/src/gnome-plist-editor.c +++ b/src/gnome-plist-editor.c @@ -27,7 +27,6 @@ #include #include -#include "plist-utils.h" static struct AppState { GtkWindow *main_window; @@ -502,8 +501,11 @@ void plist_cell_data_function (GtkTreeViewColumn *col, text = "FIXME: Parse Dates"; break; case PLIST_ARRAY: + text = g_strdup_printf("(%d items)", plist_array_get_size(node)); + g_object_set(renderer, "sensitive", FALSE, NULL); + break; case PLIST_DICT: - text = g_strdup_printf("(%d items)", plist_node_get_item_count(node)); + text = g_strdup_printf("(%d items)", plist_dict_get_size(node)); g_object_set(renderer, "sensitive", FALSE, NULL); break; default: -- cgit v1.1-32-gdbae