cpw.maiku.media_refactor: 1187dba5: Add the conference-type property to the ...

maiku at pidgin.im maiku at pidgin.im
Thu Oct 22 22:36:01 EDT 2009


-----------------------------------------------------------------
Revision: 1187dba517f79c6a86ba96b3a4809772e6fe46ed
Ancestor: 1162f54119002fe5527c5a8e7e43f3cf5fcf27a8
Author: maiku at pidgin.im
Date: 2009-10-22T22:58:48
Branch: im.pidgin.cpw.maiku.media_refactor
URL: http://d.pidgin.im/viewmtn/revision/info/1187dba517f79c6a86ba96b3a4809772e6fe46ed

Modified files:
        libpurple/media/backend-iface.c

ChangeLog: 

Add the conference-type property to the media backend interface.

-------------- next part --------------
============================================================
--- libpurple/media/backend-iface.c	313d6ce2f6d9f279c833215fbff38821f3a7180b
+++ libpurple/media/backend-iface.c	8e74ad396f0cfe3f565b5b567eba8029aafb22eb
@@ -41,6 +41,7 @@ enum {
 
 enum {
 	PROP_0,
+	PROP_CONFERENCE_TYPE,
 	PROP_MEDIA,
 };
 
@@ -52,6 +53,13 @@ purple_media_backend_base_init(gpointer 
 	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",


More information about the Commits mailing list