From 6feb984156f7e504a00ad8edfef84993ad1b3e74 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Wed, 20 Feb 2013 19:17:08 +0000 Subject: update year in copyright headers, fix the jumbled file lists (caused by unsorted files) --- src/trg-files-tree.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/trg-files-tree.h') diff --git a/src/trg-files-tree.h b/src/trg-files-tree.h index bfd9189..c5072b6 100644 --- a/src/trg-files-tree.h +++ b/src/trg-files-tree.h @@ -1,6 +1,6 @@ /* * transmission-remote-gtk - A GTK RPC client to Transmission - * Copyright (C) 2011 Alan Fitton + * Copyright (C) 2011-2013 Alan Fitton * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,7 +20,7 @@ #ifndef TRG_FILES_TREE_H_ #define TRG_FILES_TREE_H_ -#include +#include #include #include "trg-files-tree.h" @@ -30,12 +30,14 @@ typedef struct { gint64 length; gint64 bytesCompleted; GList *children; + GHashTable *childrenHash; gint index; gpointer parent; gint priority; gint enabled; } trg_files_tree_node; +void trg_files_tree_node_add_child(trg_files_tree_node* node, trg_files_tree_node* child); void trg_files_tree_node_free(trg_files_tree_node * node); #endif /* TRG_FILES_MODEL_H_ */ -- cgit v1.2.3