drop check for PA_PROP_APPLICATION_NAME since often enough we can deduce this better from g_get_application_name()

This commit is contained in:
Lennart Poettering 2009-02-13 18:01:00 +01:00
parent 15e9b968e1
commit c0fb91db54

View file

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