/soc/2013/ankitkv/gobjectification: 265bd45e6cb3: Fixed a typo i...

Ankit Vani a at nevitus.org
Fri Nov 15 13:57:23 EST 2013


Changeset: 265bd45e6cb3284330ddc2b3166a99dd7be2ed1c
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-11-16 00:26 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/265bd45e6cb3

Description:

Fixed a typo in circularbuffer that caused a crash

diffstat:

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

diffs (12 lines):

diff --git a/libpurple/circularbuffer.c b/libpurple/circularbuffer.c
--- a/libpurple/circularbuffer.c
+++ b/libpurple/circularbuffer.c
@@ -371,7 +371,7 @@ purple_circular_buffer_mark_read(PurpleC
 
 	g_return_val_if_fail(PURPLE_IS_CIRCULAR_BUFFER(buffer), FALSE);
 
-	klass = PURPLE_CIRCULAR_BUFFER_CLASS(buffer);
+	klass = PURPLE_CIRCULAR_BUFFER_GET_CLASS(buffer);
 	if(klass && klass->mark_read)
 		return klass->mark_read(buffer, len);
 



More information about the Commits mailing list