Implemented library hashtable, added / removed signals into Cartographer, add / remove / getters (ish).
Added KOTO_IS_CARTOGRAPHER macro and added that type check across all cartographer functions. Added more type checks and dropped use of g_object_get for UUIDs where possible. Implemented koto_album_get_uuid function to be on parity with other structs like Artist, Playlist, Track.
This commit is contained in:
parent
fc670e266f
commit
7c7fe35b49
4 changed files with 360 additions and 56 deletions
|
@ -442,7 +442,15 @@ GList * koto_album_get_tracks(KotoAlbum * self) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
return self->tracks; // Return
|
||||
return self->tracks; // Return the tracks
|
||||
}
|
||||
|
||||
gchar * koto_album_get_uuid(KotoAlbum *self) {
|
||||
if (!KOTO_IS_ALBUM(self)) { // Not an album
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return self->uuid; // Return the UUID
|
||||
}
|
||||
|
||||
void koto_album_set_album_art(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue