/soc/2013/ankitkv/gobjectification: ad8974e1a268: Added includes...

Ankit Vani a at nevitus.org
Mon Jul 8 10:50:08 EDT 2013


Changeset: ad8974e1a26854d974008428b6cb7388bfc729c0
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-07-08 20:19 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/ad8974e1a268

Description:

Added includes and finished up blistnodetypes.c

diffstat:

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

diffs (22 lines):

diff --git a/libpurple/blistnodetypes.c b/libpurple/blistnodetypes.c
--- a/libpurple/blistnodetypes.c
+++ b/libpurple/blistnodetypes.c
@@ -20,7 +20,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  *
  */
-#include "blistnodetypes.h"
+#include "internal.h"
+#include "dbus-maybe.h"
 
 #define PURPLE_BUDDY_GET_PRIVATE(obj) \
 	(G_TYPE_INSTANCE_GET_PRIVATE((obj), PURPLE_TYPE_BUDDY, PurpleBuddyPrivate))
@@ -646,7 +647,7 @@ purple_contact_compute_priority_buddy(Pu
 		if (purple_account_is_connected(purple_buddy_get_account(buddy)))
 		{
 			int cmp = 1;
-			if (purple_account_is_connected(purple_buddy_get_account(new_priority->account)))
+			if (purple_account_is_connected(purple_buddy_get_account(new_priority)))
 				cmp = purple_presence_compare(purple_buddy_get_presence(new_priority),
 						purple_buddy_get_presence(buddy));
 



More information about the Commits mailing list