[rhythmbox] iradio: actually use the entry type created for iradio entries



commit fd94bcfe7e1034caf860bc692af2dfa536e89f73
Author: Jonathan Matthew <jonathan d14n org>
Date:   Wed Feb 20 23:47:28 2013 +1000

    iradio: actually use the entry type created for iradio entries

 plugins/iradio/rb-iradio-source.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/iradio/rb-iradio-source.c b/plugins/iradio/rb-iradio-source.c
index b83908c..7326c03 100644
--- a/plugins/iradio/rb-iradio-source.c
+++ b/plugins/iradio/rb-iradio-source.c
@@ -473,7 +473,7 @@ rb_iradio_source_new (RBShell *shell, GObject *plugin)
 
        entry_type = rhythmdb_entry_type_get_by_name (db, "iradio");
        if (entry_type == NULL) {
-               entry_type = g_object_new (RHYTHMDB_TYPE_ENTRY_TYPE,
+               entry_type = g_object_new (rb_iradio_entry_type_get_type (),
                                           "db", db,
                                           "name", "iradio",
                                           "save-to-disk", TRUE,


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