/soc/2013/ankitkv/gobjectification: 5b3c720b9077: Added missing ...

Ankit Vani a at nevitus.org
Fri Aug 9 13:44:49 EDT 2013


Changeset: 5b3c720b907783abe534c3e075cd1d3bd218f13e
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-08-09 22:52 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/5b3c720b9077

Description:

Added missing internal function, used by account.c

diffstat:

 libpurple/connection.c |  10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diffs (20 lines):

diff --git a/libpurple/connection.c b/libpurple/connection.c
--- a/libpurple/connection.c
+++ b/libpurple/connection.c
@@ -390,6 +390,16 @@ void
 	priv->active_chats = g_slist_remove(priv->active_chats, chat);
 }
 
+gboolean
+_purple_connection_wants_to_die(const PurpleConnection *gc)
+{
+	PurpleConnectionPrivate *priv = PURPLE_CONNECTION_GET_PRIVATE(gc);
+
+	g_return_if_fail(priv != NULL);
+
+	return priv->wants_to_die;
+}
+
 void
 purple_connection_update_progress(PurpleConnection *gc, const char *text,
 								size_t step, size_t count)



More information about the Commits mailing list