libpurple/media/backend-iface.c

branch
cpw.maiku.media_refactor
changeset 29562
7f2e253c266e
parent 29560
0af31a3eb297
child 29588
a3fef46ce04a
--- a/libpurple/media/backend-iface.c	Fri Oct 23 00:01:54 2009 +0000
+++ b/libpurple/media/backend-iface.c	Fri Oct 23 01:06:48 2009 +0000
@@ -39,12 +39,6 @@
 
 static guint purple_media_backend_signals[LAST_SIGNAL] = {0};
 
-enum {
-	PROP_0,
-	PROP_CONFERENCE_TYPE,
-	PROP_MEDIA,
-};
-
 static void
 purple_media_backend_base_init(gpointer iface)
 {
@@ -53,14 +47,14 @@
 	if (is_initialized)
 		return;
 
-	g_object_class_install_property(iface, PROP_CONFERENCE_TYPE,
+	g_object_interface_install_property(iface,
 			g_param_spec_string("conference-type",
 			"Conference Type",
 			"The type of conference that this backend "
 			"has been created to provide.",
 			NULL,
 			G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
-	g_object_class_install_property(iface, PROP_MEDIA,
+	g_object_interface_install_property(iface,
 			g_param_spec_object("media",
 			"Purple Media",
 			"The media object that this backend is bound to.",

mercurial