changeset 29148:af08588c06f5

Add the conference-type property to the media backend interface.
author maiku@pidgin.im
date Thu, 22 Oct 2009 22:58:48 +0000
parents d1955da88264
children 4aa30863743b
files libpurple/media/backend-iface.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/media/backend-iface.c	Thu Oct 22 22:30:03 2009 +0000
+++ b/libpurple/media/backend-iface.c	Thu Oct 22 22:58:48 2009 +0000
@@ -41,6 +41,7 @@
 
 enum {
 	PROP_0,
+	PROP_CONFERENCE_TYPE,
 	PROP_MEDIA,
 };
 
@@ -52,6 +53,13 @@
 	if (is_initialized)
 		return;
 
+	g_object_class_install_property(iface, PROP_CONFERENCE_TYPE,
+			g_param_spec_object("conference-type",
+			"Conference Type",
+			"The type of conference that this backend "
+			"has been created to provide.",
+			G_TYPE_STRING,
+			G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
 	g_object_class_install_property(iface, PROP_MEDIA,
 			g_param_spec_object("media",
 			"Purple Media",