Changeset 88
- Timestamp:
- 04/24/08 20:12:20
- Files:
-
- trunk/ChangeLog (modified) (1 diff)
- trunk/src/tmut-msg-creator.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ChangeLog
r84 r88 1 2008-04-24 Philip Van Hoof <pvanhoof@gnome.org> 2 3 * Bugfix when error reporting on sending message 4 1 5 2008-04-22 Philip Van Hoof <pvanhoof@gnome.org> 2 6 trunk/src/tmut-msg-creator.c
r76 r88 67 67 { 68 68 TnySendQueue *send_queue; 69 TMutMsgCreator *self;70 69 TnyHeader *header; 71 70 } OnResponseInfo; … … 87 86 g_object_unref (info->send_queue); 88 87 g_object_unref (info->header); 89 g_object_unref (info->self);90 88 91 89 gtk_widget_destroy (GTK_WIDGET (dialog)); … … 101 99 on_send_queue_error_happened (TnySendQueue *self, TnyHeader *header, TnyMsg *msg, GError *err, gpointer user_data) 102 100 { 103 TMutMsgCreatorPriv *priv = TMUT_MSG_CREATOR_GET_PRIVATE (user_data);104 105 101 if (header) 106 102 { … … 115 111 OnResponseInfo *info = g_slice_new (OnResponseInfo); 116 112 117 rem_dialog = gtk_message_dialog_new ( GTK_WINDOW (priv->shell),113 rem_dialog = gtk_message_dialog_new (NULL, 118 114 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_YES_NO, str); 119 115 g_free (str); 120 116 121 117 info->send_queue = (TnySendQueue *) g_object_ref (self); 122 info->self = (TMutMsgCreator *) g_object_ref (user_data);123 118 info->header = (TnyHeader *) g_object_ref (header); 124 119 … … 145 140 TnySendQueue *send_queue = tny_camel_send_queue_new (TNY_CAMEL_TRANSPORT_ACCOUNT (account)); 146 141 g_signal_connect (G_OBJECT (send_queue), "error-happened", 147 G_CALLBACK (on_send_queue_error_happened), self);142 G_CALLBACK (on_send_queue_error_happened), NULL); 148 143 g_hash_table_insert (send_queues, account, send_queue); 149 144 retval = send_queue;
