pidgin: a77b2b07: Try gconfaudiosink first always, not jus...

rlaager at pidgin.im rlaager at pidgin.im
Fri May 23 16:40:39 EDT 2008


-----------------------------------------------------------------
Revision: a77b2b07db9d98294b9d659d80cef57166099c53
Ancestor: 3ac0b8ff5d6c92db873703dea796f6e5ab15f3a5
Author: rlaager at pidgin.im
Date: 2008-05-23T20:35:29
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/a77b2b07db9d98294b9d659d80cef57166099c53

Modified files:
        pidgin/gtksound.c

ChangeLog: 

Try gconfaudiosink first always, not just under GNOME.  This is what Debian
has been doing for a while.  It shouldn't hurt anything.

-------------- next part --------------
============================================================
--- pidgin/gtksound.c	ffd5d59aa7a9c8f04cdc35fd7d0232fbf925f585
+++ pidgin/gtksound.c	0cc7acc221605e6665426880ed18147a98d32dec
@@ -488,9 +488,7 @@ pidgin_sound_play_file(const char *filen
 		return;
 	volume = (float)(CLAMP(purple_prefs_get_int(PIDGIN_PREFS_ROOT "/sound/volume"),0,100)) / 50;
 	if (!strcmp(method, "automatic")) {
-		if (purple_running_gnome()) {
-			sink = gst_element_factory_make("gconfaudiosink", "sink");
-		}
+		sink = gst_element_factory_make("gconfaudiosink", "sink");
 	}
 #ifndef _WIN32
 	else if (!strcmp(method, "esd")) {


More information about the Commits mailing list