pidgin/plugins/vvconfig.c

branch
string-comparison-r2
changeset 38257
1a294a6d2a57
parent 37650
f827e56eea34
child 38258
9a6551eba09c
--- a/pidgin/plugins/vvconfig.c	Thu Mar 23 19:19:01 2017 +0300
+++ b/pidgin/plugins/vvconfig.c	Thu Mar 23 19:37:57 2017 +0300
@@ -409,7 +409,7 @@
 	if (device[0] != '\0')
 		g_object_set(G_OBJECT(ret), "device", device, NULL);
 
-	if (g_strcmp0(plugin, "autovideosink") == 0) {
+	if (purple_strequal(plugin, "autovideosink")) {
 		g_signal_connect(ret, "child-added",
 			G_CALLBACK(autovideosink_child_added_cb), NULL);
 	} else {

mercurial