Patch: SendQueue: Fix some signals



SendQueue: Fix some signals

This removes the superfluous user_data argument in the signal function pointers
in the interface struct.

Carl Simonson
simonsonc gmail com
commit 8ac3f49bbf83d02d9501cb9cdb6ba214374b9236
Author: Carl Simonson <simonsonc gmail com>
Date:   Wed Oct 14 14:26:38 2009 -0500

    SendQueue: Fix some signals
    
    This removes the superfluous user_data argument in the signal function pointers
    in the interface struct.

diff --git a/libtinymail/tny-send-queue.h b/libtinymail/tny-send-queue.h
index d632de6..379a449 100644
--- a/libtinymail/tny-send-queue.h
+++ b/libtinymail/tny-send-queue.h
@@ -66,9 +66,9 @@ struct _TnySendQueueIface
 	/* Signals */
 	void (*msg_sending) (TnySendQueue *self, TnyHeader *header, TnyMsg *msg, guint nth, guint total);
 	void (*msg_sent) (TnySendQueue *self, TnyHeader *header, TnyMsg *msg, guint nth, guint total);
-	void (*error_happened) (TnySendQueue *self, TnyHeader *header, TnyMsg *msg, GError *err, gpointer user_data);
-	void (*queue_start) (TnySendQueue *self, gpointer user_data);
-	void (*queue_stop) (TnySendQueue *self, gpointer user_data);
+	void (*error_happened) (TnySendQueue *self, TnyHeader *header, TnyMsg *msg, GError *err);
+	void (*queue_start) (TnySendQueue *self);
+	void (*queue_stop) (TnySendQueue *self);
 
 	/* methods */
 	void (*add) (TnySendQueue *self, TnyMsg *msg, GError **err);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]