changeset 29152:9f16127441e8

This is an interface and not a class.
author maiku@pidgin.im
date Fri, 23 Oct 2009 01:06:48 +0000
parents 30e8ab2a4bc2
children f7746ebc0b40
files libpurple/media/backend-iface.c
diffstat 1 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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.",