There is no need for an instance of Database to generate a null pointer
this.db.exec ("ANALYZE");
}
- public GLib.Value get_null () {
+ public static GLib.Value @null () {
GLib.Value v = GLib.Value (typeof (void *));
v.set_pointer (null);
return v;
(item is MediaItem)
? (int) MediaDBObjectType.ITEM
: (int) MediaDBObjectType.CONTAINER,
- item.parent == null ? this.db.get_null () :
+ item.parent == null ? Database.null () :
item.parent.id,
(int64) item.modified };
this.db.exec (INSERT_OBJECT_STRING, values);