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

Mike Ruprecht <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 808e60da793c699eadc5b332eb51cd16e6079484
Author:	 Mike Ruprecht <[email protected]>
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));
 

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.