summaryrefslogtreecommitdiff
blob: 8522bb54a7a2be3eba913480d68b334830855537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- 1/dict/src/desktop.cpp
+++ 1/dict/src/desktop.cpp
@@ -39,9 +39,11 @@
 
 
 #ifndef _WIN32
+#if 0
 #  include "canberra.h"
 #  include "canberra-gtk.h"
 #endif
+#endif
 
 
 
@@ -176,14 +178,18 @@
 		return; // error
 	}
 #else
+#if 0
 	if (conf->get_bool_at("dictionary/always_use_sound_play_command")) {
+#endif
 		const std::string &playcmd=
 			conf->get_string_at("dictionary/sound_play_command");
 		spawn_command(playcmd.c_str(), filename.c_str());
+#if 0
 	} else {
 		ca_context_play(ca_gtk_context_get(), 0, CA_PROP_MEDIA_FILENAME, filename.c_str(), NULL);
 	}
 #endif
+#endif
 }
 
 void play_video_file(const std::string& filename)