Permalink
Browse files

stream-restore: add version to new entry.

  • Loading branch information...
1 parent 1020065 commit 1bbafdbb0ac9fc36b679e899958344a9478fd4fa Harri Mähönen committed with Colin Guthrie Apr 5, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/modules/module-stream-restore.c
@@ -650,6 +650,7 @@ static void handle_add_entry(DBusConnection *conn, DBusMessage *msg, void *userd
pa_assert_se(pa_hashmap_put(u->dbus_entries, dbus_entry->entry_name, dbus_entry) == 0);
e = pa_xnew0(struct entry, 1);
+ e->version = ENTRY_VERSION;
e->muted_valid = TRUE;
e->volume_valid = !!map.channels;
e->device_valid = !!device[0];

0 comments on commit 1bbafdb

Please sign in to comment.