# HG changeset patch # User maiku@pidgin.im # Date 1256260008 0 # Node ID 9f16127441e81f16c8b645ee1e3778f1a5f47579 # Parent 30e8ab2a4bc2d01d4fba717be71537b577dde09d This is an interface and not a class. diff -r 30e8ab2a4bc2 -r 9f16127441e8 libpurple/media/backend-iface.c --- 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.",