aboutsummaryrefslogtreecommitdiff
path: root/src/fetch-file.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-09-01 17:51:30 +0100
committerConor Curran <conor.curran@canonical.com>2010-09-01 17:51:30 +0100
commitbb73e65c4fd9f698050ff1d2ddb71fc35bac6803 (patch)
tree91441c76f5795be8640d760068a015efb844cd29 /src/fetch-file.vala
parent9ab9b175e1f77457157211f5f93c54e8ae87e3dc (diff)
downloadayatana-indicator-sound-bb73e65c4fd9f698050ff1d2ddb71fc35bac6803.tar.gz
ayatana-indicator-sound-bb73e65c4fd9f698050ff1d2ddb71fc35bac6803.tar.bz2
ayatana-indicator-sound-bb73e65c4fd9f698050ff1d2ddb71fc35bac6803.zip
last fm art work should load correctly now
Diffstat (limited to 'src/fetch-file.vala')
-rw-r--r--src/fetch-file.vala22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/fetch-file.vala b/src/fetch-file.vala
index f172853..1811cc1 100644
--- a/src/fetch-file.vala
+++ b/src/fetch-file.vala
@@ -1,3 +1,24 @@
+/*
+ * Copyright (C) 2010 Canonical, Ltd.
+ *
+ * This library is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License
+ * version 3.0 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3.0 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see
+ * <http://www.gnu.org/licenses/>.
+ *
+ * Authors
+ * Gordon Allott <gord.allott@canonical.com>
+ * Conor Curran <conor.curran@canonical.com>
+ */
+
public class FetchFile : Object
{
/* public variables */
@@ -26,7 +47,6 @@ public class FetchFile : Object
public async void fetch_data ()
{
- //grab our data from our uri
try {
this.stream = new DataInputStream(this.file.read(null));
this.stream.set_byte_order (DataStreamByteOrder.LITTLE_ENDIAN);