/soc/2013/ankitkv/gobjectification: 7a11ecbb92d3: Added setting ...
Ankit Vani
a at nevitus.org
Fri Jul 12 05:29:42 EDT 2013
Changeset: 7a11ecbb92d3280e9703681263836e9eb5e4400e
Author: Ankit Vani <a at nevitus.org>
Date: 2013-07-12 14:58 +0530
Branch: soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/7a11ecbb92d3
Description:
Added setting of property "prpl" in PurpleConnection -- only settable during construction
diffstat:
libpurple/connection.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (14 lines):
diff --git a/libpurple/connection.c b/libpurple/connection.c
--- a/libpurple/connection.c
+++ b/libpurple/connection.c
@@ -605,6 +605,10 @@ purple_connection_set_property(GObject *
PurpleConnectionPrivate *priv = PURPLE_CONNECTION_GET_PRIVATE(gc);
switch (param_id) {
+ case PROP_PRPL:
+#warning TODO: change get_pointer to get_object when prpl is a GObject
+ priv->prpl = g_value_get_pointer(value);
+ break;
case PROP_FLAGS:
purple_connection_set_flags(gc, g_value_get_flags(value));
break;
More information about the Commits
mailing list