/pidgin/main: 808e60da793c: Fix PurpleMedia account property to ...

Mike Ruprecht cmaiku at gmail.com
Thu Jan 14 15:59:34 EST 2016


Changeset: 808e60da793c699eadc5b332eb51cd16e6079484
Author:	 Mike Ruprecht <cmaiku at gmail.com>
Date:	 2016-01-14 04:11 -0600
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/808e60da793c

Description:

Fix PurpleMedia account property to be defined as an object

diffstat:

 libpurple/media.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (14 lines):

diff --git a/libpurple/media.c b/libpurple/media.c
--- a/libpurple/media.c
+++ b/libpurple/media.c
@@ -195,8 +195,9 @@ purple_media_class_init (PurpleMediaClas
 			G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
 
 	g_object_class_install_property(gobject_class, PROP_ACCOUNT,
-			g_param_spec_pointer("account", "PurpleAccount",
+			g_param_spec_object("account", "PurpleAccount",
 			"The account this media session is on.",
+			PURPLE_TYPE_ACCOUNT,
 			G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE |
 			G_PARAM_STATIC_STRINGS));
 



More information about the Commits mailing list