aboutsummaryrefslogtreecommitdiff
path: root/src/metadata-menu-item.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/metadata-menu-item.vala')
-rw-r--r--src/metadata-menu-item.vala15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/metadata-menu-item.vala b/src/metadata-menu-item.vala
index b13196f..0bb4a85 100644
--- a/src/metadata-menu-item.vala
+++ b/src/metadata-menu-item.vala
@@ -29,19 +29,6 @@ public class MetadataMenuitem : PlayerItem
reset(attributes_format());
}
- public bool needs_reset(GLib.HashTable<string, Value?> updates)
- {
- if(this.property_exist(MENUITEM_ARTURL) == false){
- return true;
- }
- if(this.property_get_int(MENUITEM_ARTURL) == EMPTY){
- return true;
- }
- if(strcmp(updates.lookup("xesam:artist").get_string() ,this.property_get(MENUITEM_ARTURL)) != 0){
- return true;
- }
- return false;
- }
public static HashSet<string> attributes_format()
{
@@ -53,4 +40,4 @@ public class MetadataMenuitem : PlayerItem
return attrs;
}
-} \ No newline at end of file
+}