summaryrefslogtreecommitdiffstats
path: root/src/gnome-plist-editor.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-01-13 16:59:37 +0100
committerGravatar Martin Szulecki2010-01-13 16:59:37 +0100
commit8e72403ca6f0796a8a44daf6a15db34ad9f8a282 (patch)
tree566ec0fa4016ee75fc610ac8e1a98484f395ceed /src/gnome-plist-editor.c
parent384e8ad448744431766f66cebd01f510425b0dc3 (diff)
downloadgnome-plist-editor-8e72403ca6f0796a8a44daf6a15db34ad9f8a282.tar.gz
gnome-plist-editor-8e72403ca6f0796a8a44daf6a15db34ad9f8a282.tar.bz2
Remove plist-utils as that functionality is now provided by libplist
Diffstat (limited to 'src/gnome-plist-editor.c')
-rw-r--r--src/gnome-plist-editor.c6
1 files changed, 4 insertions, 2 deletions
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 <gio/gio.h>
#include <plist/plist.h>
-#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: