/soc/2013/ankitkv/gobjectification: aabc888fd461: Refactored fin...

Ankit Vani a at nevitus.org
Thu Jul 18 17:30:02 EDT 2013


Changeset: aabc888fd461a02c900d4426b1038cfee5c916fd
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-07-19 02:59 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/aabc888fd461

Description:

Refactored finch to use GType instead of PurpleValue

diffstat:

 finch/gntlog.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (18 lines):

diff --git a/finch/gntlog.c b/finch/gntlog.c
--- a/finch/gntlog.c
+++ b/finch/gntlog.c
@@ -533,11 +533,9 @@ void finch_log_init(void)
 
 	purple_signal_register(handle, "log-displaying",
 	                     purple_marshal_VOID__POINTER_POINTER,
-	                     NULL, 2,
-	                     purple_value_new(PURPLE_TYPE_BOXED,
-	                                    "FinchLogViewer *"),
-	                     purple_value_new(PURPLE_TYPE_SUBTYPE,
-	                                    PURPLE_SUBTYPE_LOG));
+	                     G_TYPE_NONE, 2,
+	                     G_TYPE_POINTER, /* (FinchLogViewer *) */
+	                     PURPLE_TYPE_LOG);
 }
 
 void



More information about the Commits mailing list