Start cleanup of KotoLibrary logic and decoupling other components like Music Local from a specific library.
Fix the displaying of discs and tracks in an album on initial index due to missing cartographer add track call. Cleanup lots of double empty newlines. Updated ptr spacing in uncrustify config to enforce consistency in pointer char (`*`) spacing.
This commit is contained in:
parent
8334323af8
commit
bfe4891620
33 changed files with 146 additions and 623 deletions
|
@ -63,7 +63,6 @@ static void koto_track_item_set_property(
|
|||
static void koto_track_item_class_init(KotoTrackItemClass * c) {
|
||||
GObjectClass * gobject_class;
|
||||
|
||||
|
||||
gobject_class = G_OBJECT_CLASS(c);
|
||||
gobject_class->set_property = koto_track_item_set_property;
|
||||
gobject_class->get_property = koto_track_item_get_property;
|
||||
|
@ -87,7 +86,6 @@ static void koto_track_item_get_property(
|
|||
) {
|
||||
KotoTrackItem * self = KOTO_TRACK_ITEM(obj);
|
||||
|
||||
|
||||
switch (prop_id) {
|
||||
case PROP_TRACK:
|
||||
g_value_set_object(val, self->track);
|
||||
|
@ -106,7 +104,6 @@ static void koto_track_item_set_property(
|
|||
) {
|
||||
KotoTrackItem * self = KOTO_TRACK_ITEM(obj);
|
||||
|
||||
|
||||
switch (prop_id) {
|
||||
case PROP_TRACK:
|
||||
koto_track_item_set_track(self, (KotoTrack*) g_value_get_object(val));
|
||||
|
@ -143,7 +140,6 @@ void koto_track_item_set_track(
|
|||
self->track = track;
|
||||
gchar * track_name;
|
||||
|
||||
|
||||
g_object_get(self->track, "parsed-name", &track_name, NULL);
|
||||
gtk_label_set_text(GTK_LABEL(self->track_label), track_name); // Update the text
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue