[gnome-dvb-daemon] Device: Removed unused group_id parameter



commit a3370941ef465532d04a8fcd838cecd82d293b43
Author: Sebastian PÃlsterl <sebp k-d-w org>
Date:   Sat Aug 27 12:03:22 2011 +0200

    Device: Removed unused group_id parameter

 src/Device.vala                                  |    4 ++--
 src/Manager.vala                                 |    2 +-
 src/database/sqlite/SqliteConfigTimersStore.vala |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/Device.vala b/src/Device.vala
index aeb999b..71916e7 100644
--- a/src/Device.vala
+++ b/src/Device.vala
@@ -57,7 +57,7 @@ namespace DVB {
         public Device (uint adapter, uint frontend) {
             base (Adapter: adapter, Frontend: frontend);
         }
-        
+
         public static Device new_with_type (uint adapter, uint frontend) {
         	var device = new Device (adapter, frontend);
             
@@ -67,7 +67,7 @@ namespace DVB {
         }
 
         public static Device? new_full (uint adapter, uint frontend,
-                File channels_conf, File recordings_dir, uint group_id)
+                File channels_conf, File recordings_dir)
                 throws DeviceError
         {
             Device device = Device.new_with_type (adapter, frontend);
diff --git a/src/Manager.vala b/src/Manager.vala
index 9cefbc9..f1e42fb 100644
--- a/src/Manager.vala
+++ b/src/Manager.vala
@@ -234,7 +234,7 @@ namespace DVB {
             Device device;
             try {
                 device = Device.new_full (adapter, frontend, chan_file,
-                    rec_dir, device_group_counter + 1);
+                    rec_dir);
             } catch (DeviceError e) {
             	log.error ("Could not create device: %s", e.message);
             	return false;
diff --git a/src/database/sqlite/SqliteConfigTimersStore.vala b/src/database/sqlite/SqliteConfigTimersStore.vala
index 9880a99..73a4252 100644
--- a/src/database/sqlite/SqliteConfigTimersStore.vala
+++ b/src/database/sqlite/SqliteConfigTimersStore.vala
@@ -263,7 +263,7 @@ namespace DVB.database.sqlite {
                     if (ref_dev == null) {
                         try {
                             ref_dev = Device.new_full (adapter, frontend,
-                                channels_file, rec_dir, group_id);
+                                channels_file, rec_dir);
                         } catch (DeviceError e) {
                         	log.error ("Could not create device: %s", e.message);
                         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]