]> code.delx.au - pulseaudio/commitdiff
drop check for PA_PROP_APPLICATION_NAME since often enough we can deduce this better...
authorLennart Poettering <lennart@poettering.net>
Fri, 13 Feb 2009 17:01:00 +0000 (18:01 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 13 Feb 2009 17:01:00 +0000 (18:01 +0100)
src/pulse/context.c

index 81050914987cba44a7cdf08ed745d62b679b9a82..8686e0deafaf28a89f98066aae5834e26b7fb05c 100644 (file)
@@ -129,9 +129,6 @@ pa_context *pa_context_new_with_proplist(pa_mainloop_api *mainloop, const char *
 
     pa_init_i18n();
 
-    if (!name && !pa_proplist_contains(p, PA_PROP_APPLICATION_NAME))
-        return NULL;
-
     c = pa_xnew(pa_context, 1);
     PA_REFCNT_INIT(c);