VALA_REQUIRED=0.8.0
GUPNP_REQUIRED=0.13.3
-GUPNP_AV_REQUIRED=0.5.2
+GUPNP_AV_REQUIRED=0.5.5
GUPNP_VALA_REQUIRED=0.6.5
DBUS_GLIB_REQUIRED=0.74
GSTREAMER_REQUIRED=0.10.23
}
this.child_count = this.containers.size +
- this.actual_container.item_count;
+ (int) this.actual_container.item_count;
}
private void on_updated (ExternalMediaContainer actual_container) {
debug ("We have %u children", this.child_count);
}
- private uint count_children () {
+ private int count_children () {
try {
if (this.pattern == "") {
var children = this.media_db.get_objects_by_search_expression (
"0",
0,
-1);
- return (uint) children.size;
+ return children.size;
} else {
- uint retval = 0;
+ int retval = 0;
var data = this.media_db.get_object_attribute_by_search_expression (
this.attribute,
this.expression,
*/
public signal void container_updated (MediaContainer container);
- public uint child_count;
+ public int child_count;
public uint32 update_id;
public MediaContainer (string id,
MediaContainer? parent,
string title,
- uint child_count) {
+ int child_count) {
this.id = id;
this.parent = parent;
this.title = title;
}
public MediaContainer.root (string title,
- uint child_count) {
+ int child_count) {
this ("0", null, title, child_count);
}