/soc/2013/ankitkv/gobjectification: 3234b794be32: Change prpl st...

Ankit Vani a at nevitus.org
Tue Oct 29 18:11:15 EDT 2013


Changeset: 3234b794be32c0fd1cf2d607558e6af29eec30aa
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-10-30 03:40 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/3234b794be32

Description:

Change prpl stuff to protocol stuff in gtkrequest

diffstat:

 pidgin/gtkrequest.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (33 lines):

diff --git a/pidgin/gtkrequest.c b/pidgin/gtkrequest.c
--- a/pidgin/gtkrequest.c
+++ b/pidgin/gtkrequest.c
@@ -1600,11 +1600,11 @@ static GdkPixbuf*
 	id[0] = '\0';
 	id++;
 
-	if (g_strcmp0(domain, "prpl") == 0) {
+	if (g_strcmp0(domain, "protocol") == 0) {
 		PurpleAccount *account;
-		gchar *prpl, *accountname;
-
-		prpl = id;
+		gchar *protocol_id, *accountname;
+
+		protocol_id = id;
 		accountname = strchr(id, ':');
 
 		if (!accountname) {
@@ -1615,10 +1615,10 @@ static GdkPixbuf*
 		accountname[0] = '\0';
 		accountname++;
 
-		account = purple_accounts_find(accountname, prpl);
+		account = purple_accounts_find(accountname, protocol_id);
 		if (account) {
-			image = pidgin_create_prpl_icon(account,
-				PIDGIN_PRPL_ICON_SMALL);
+			image = pidgin_create_protocol_icon(account,
+				PIDGIN_PROTOCOL_ICON_SMALL);
 		}
 	} else if (g_strcmp0(domain, "e2ee") == 0) {
 		image = pidgin_pixbuf_from_imgstore(



More information about the Commits mailing list