gobjectification: 6ef28fad: removed some unnecessary printf's

grim at pidgin.im grim at pidgin.im
Sat Jul 18 23:15:34 EDT 2009


-----------------------------------------------------------------
Revision: 6ef28fad42d71923606b110f399a4bdd88221354
Ancestor: 8a729411c2cb804ff0274ba5c7c4d3becbe7edbf
Author: grim at pidgin.im
Date: 2009-07-19T02:43:41
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/6ef28fad42d71923606b110f399a4bdd88221354

Modified files:
        libpurple/gsignal.c

ChangeLog: 

removed some unnecessary printf's


-------------- next part --------------
============================================================
--- libpurple/gsignal.c	9beb93dff524aa82ea89185d0ea5e33d76e54fa9
+++ libpurple/gsignal.c	96cc23863125f2364ae658336cf9340ab905e126
@@ -1,7 +1,5 @@
 #include "signals.h"
 
-#include <stdio.h>
-
 struct _PurpleGSignalHandle {
 	guint signal_id;
 	gulong hook_id;
@@ -25,13 +23,10 @@ purple_g_signal_emission_hook(GSignalInv
 	gboolean swap = FALSE, after = FALSE;
 	GClosure *closure = NULL;
 
-	printf("fn: purple_signal_emission_hook\n");
 	obj = g_value_get_object(pvalues);
 
-	if(!G_TYPE_CHECK_INSTANCE_TYPE(obj, sd->type)) {
-		printf("wrong instance type!\n");
+	if(!G_TYPE_CHECK_INSTANCE_TYPE(obj, sd->type))
 		return TRUE;
-	}
 
 	swap = (sd->flags & G_CONNECT_SWAPPED);
 	after = (sd->flags & G_CONNECT_AFTER);


More information about the Commits mailing list