Mercurial > pidgin
changeset 23916:9104d46df299
Restore autoprobe property when finished probing for devices.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Sun, 24 Aug 2008 06:01:51 +0000 |
parents | d6bda7b63eac |
children | 4a208844bb63 |
files | libpurple/media.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/media.c Thu Aug 21 02:41:21 2008 +0000 +++ b/libpurple/media.c Sun Aug 24 06:01:51 2008 +0000 @@ -757,6 +757,14 @@ } g_value_array_free(array); } + + /* Restore autoprobe[-fps] to TRUE. */ + if (g_object_class_find_property (klass, "autoprobe")) { + g_object_set (G_OBJECT (element), "autoprobe", TRUE, NULL); + if (g_object_class_find_property (klass, "autoprobe-fps")) { + g_object_set (G_OBJECT (element), "autoprobe-fps", TRUE, NULL); + } + } } return ret;