-#if 0 /* FIXME: Check volume handling. Would be great not to use Gconf... */
- GConfClient *client;
- GConfValue *value;
- gint gconf_vol;
-
- /*
- * The volume is from -0dB to -6dB,
- The full volume is marked as 2 in gconf */
- client = gconf_client_get_default ();
- value = gconf_client_get (client, ALARM_GCONF_PATH, NULL);
-
- /* We want error cases to match full volume, not silence, so
- we do not want to use gconf_client_get_int */
- if (!value || value->type != GCONF_VALUE_INT)
- gconf_vol = 2;
- else
- gconf_vol = gconf_value_get_int(value);
-
- if (value)
- gconf_value_free(value);
- g_object_unref (client);
-
- volume = ((1.0 - (float)gconf_vol / 2.0)) * (-6.0);
-#endif
-