Commit a95bc432 authored by Benjamin Berg's avatar Benjamin Berg
Browse files

meta-provider: Sync discovery setting to newly added providers

Without this discovery wouldn't be running properly after application
startup.
parent 3f1e66dd
......@@ -315,6 +315,9 @@ screencast_meta_provider_add_provider (ScreencastMetaProvider *meta_provider,
meta_provider,
G_CONNECT_SWAPPED);
/* Sync discovery property */
g_object_set (provider, "discover", meta_provider->discover, NULL);
/* Explicitly add all existing sinks */
list = screencast_provider_get_sinks (provider);
item = list;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment