[gnome-games] core: Remove the MediaSet constructor
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] core: Remove the MediaSet constructor
- Date: Thu, 1 Jun 2017 15:12:32 +0000 (UTC)
commit b3a9a0e7aa56b11400f3173197b42323a5862e92
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu Jun 1 13:07:22 2017 +0200
core: Remove the MediaSet constructor
As all its parameters are optionnal and none is used, it should be
removed.
https://bugzilla.gnome.org/show_bug.cgi?id=783319
src/core/media-set/media-set.vala | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/core/media-set/media-set.vala b/src/core/media-set/media-set.vala
index b5e1378..7f9e235 100644
--- a/src/core/media-set/media-set.vala
+++ b/src/core/media-set/media-set.vala
@@ -8,11 +8,6 @@ public class Games.MediaSet : Object {
private Media[] medias;
- public MediaSet (Media[] medias = {}, GLib.Icon? icon = null) {
- this.medias = medias;
- this.icon = icon;
- }
-
public void add_media (Media media) {
medias += media;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]