No need to test alsa open at object creationg, since

we don't have a fallback.
This commit is contained in:
Marco Pesenti Gritti 2008-09-14 12:54:16 +02:00
parent be7b97dde7
commit 5ecfcba365

View File

@ -300,16 +300,6 @@ static void
acme_volume_alsa_init (AcmeVolumeAlsa *self)
{
self->_priv = g_new0 (AcmeVolumeAlsaPrivate, 1);
if (acme_volume_alsa_open (self) == FALSE)
{
g_warning ("Cannot open alsa.");
}
if (self->_priv->handle != NULL) {
acme_volume_alsa_close_real (self);
return;
}
}
static void