[gnome-flashback] audio-device-selection: remove test
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] audio-device-selection: remove test
- Date: Thu, 31 Mar 2016 09:04:13 +0000 (UTC)
commit 7423020611d9aca5bc6a65e56589b5204f8e0e06
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Thu Mar 31 12:03:45 2016 +0300
audio-device-selection: remove test
.../gf-audio-device-selection.c | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/gnome-flashback/libaudio-device-selection/gf-audio-device-selection.c
b/gnome-flashback/libaudio-device-selection/gf-audio-device-selection.c
index 00fcb6f..eec6412 100644
--- a/gnome-flashback/libaudio-device-selection/gf-audio-device-selection.c
+++ b/gnome-flashback/libaudio-device-selection/gf-audio-device-selection.c
@@ -155,21 +155,6 @@ bus_acquired_handler (GDBusConnection *connection,
}
static void
-test (GfAudioDeviceSelection *ads)
-{
- const gchar *devices[] = { "headphones", "headset", "microphone", NULL };
- ads->dialog = gf_audio_device_selection_dialog_new (NULL, devices);
-
- g_signal_connect (ads->dialog, "close", G_CALLBACK (close_cb), ads);
- g_signal_connect (ads->dialog, "selected", G_CALLBACK (selected_cb), ads);
-
- g_signal_connect (ads->dialog, "delete-event",
- G_CALLBACK (delete_event_cb), ads);
-
- gtk_window_present (GTK_WINDOW (ads->dialog));
-}
-
-static void
gf_audio_device_selection_dispose (GObject *object)
{
GfAudioDeviceSelection *ads;
@@ -223,8 +208,6 @@ gf_audio_device_selection_init (GfAudioDeviceSelection *ads)
AUDIO_DEVICE_SELECTION_DBUS_NAME,
flags, bus_acquired_handler,
NULL, NULL, ads, NULL);
-
- test (ads);
}
GfAudioDeviceSelection *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]