~timo-jyrinki/ubuntu/utopic/rhythmbox/enable_grilo_rhythmbox

« back to all changes in this revision

Viewing changes to plugins/daap/rb-daap-source.c

Tags: upstream-0.11.1
ImportĀ upstreamĀ versionĀ 0.11.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
268
268
        RhythmDBEntryType type;
269
269
        GdkPixbuf *icon;
270
270
        RhythmDB *db;
 
271
        char *entry_type_name;
271
272
 
272
273
        g_object_get (shell, "db", &db, NULL);
273
 
        type = rhythmdb_entry_register_type (db, NULL);
 
274
        entry_type_name = g_strdup_printf ("daap:%s:%s:%s", service_name, name, host);
 
275
        type = rhythmdb_entry_register_type (db, entry_type_name);
 
276
        g_free (entry_type_name);
274
277
        type->save_to_disk = FALSE;
275
278
        type->category = RHYTHMDB_ENTRY_NORMAL;
276
279
        g_object_unref (db);
611
614
        RhythmDB *db;
612
615
        RhythmDBEntryType type;
613
616
 
614
 
        if (daap_source->priv->connection == NULL) {
 
617
        if (daap_source->priv->connection == NULL
 
618
         || daap_source->priv->disconnecting == TRUE) {
615
619
                return;
616
620
        }
617
621