cpw.maiku.media_refactor: d42731d8: This is an interface and not a class.

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


-----------------------------------------------------------------
Revision: d42731d8e48b1157bf278ed3cb5af98dcc027ee2
Ancestor: 77061d4133a39bb56058ac7a25255761c2a0fdd3
Author: maiku at pidgin.im
Date: 2009-10-23T01:06:48
Branch: im.pidgin.cpw.maiku.media_refactor
URL: http://d.pidgin.im/viewmtn/revision/info/d42731d8e48b1157bf278ed3cb5af98dcc027ee2

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

ChangeLog: 

This is an interface and not a class.

-------------- next part --------------
============================================================
--- libpurple/media/backend-iface.c	70d12affd5ba931176927952b0963bc47bdf08dc
+++ libpurple/media/backend-iface.c	e88203dee268e21a7d5081dc427a5450faf06c58
@@ -39,12 +39,6 @@ static guint purple_media_backend_signal
 
 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 @@ purple_media_backend_base_init(gpointer 
 	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.",


More information about the Commits mailing list