Changeset 3614

Show
Ignore:
Timestamp:
04/23/08 15:11:51
Author:
pvanhoof
Message:

2008-04-23 Philip Van Hoof <pvanhoof@gnome.org>

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r3613 r3614  
     12008-04-23  Philip Van Hoof <pvanhoof@gnome.org> 
     2 
     3        * Reference count fix in TnyCamelSendQueue 
     4 
    152008-04-23  Jürg Billeter  <j@bitron.ch> 
    26 
  • trunk/docs/devel/reference/tmpl/tny-account-store.sgml

    r3611 r3614  
    4949 
    5050</para> 
    51  
    52 @: 
    5351 
    5452@tnyaccountstore: the object which received the signal. 
  • trunk/docs/devel/reference/tmpl/tny-account.sgml

    r3611 r3614  
    2828 
    2929</para> 
     30 
     31@: 
    3032 
    3133@tnyaccount: the object which received the signal. 
  • trunk/docs/devel/reference/tmpl/tny-camel-account.sgml

    r3611 r3614  
    7474 
    7575 
     76<!-- ##### SIGNAL TnyCamelAccount::set-online-happened ##### --> 
     77<para> 
     78 
     79</para> 
     80 
     81@tnycamelaccount: the object which received the signal. 
     82@arg1:  
     83 
    7684<!-- ##### FUNCTION tny_camel_account_get_options ##### --> 
    7785<para> 
  • trunk/docs/devel/reference/tmpl/tny-device.sgml

    r3611 r3614  
    3636 
    3737</para> 
    38  
    39 @:  
    40 @: 
    4138 
    4239@tnydevice: the object which received the signal. 
  • trunk/docs/devel/reference/tmpl/tny-gnome-account-store.sgml

    r3611 r3614  
    2323</para> 
    2424 
     25@parent:  
    2526 
    2627<!-- ##### FUNCTION tny_gnome_account_store_new ##### --> 
  • trunk/docs/devel/reference/tmpl/tny-gnome-device.sgml

    r3611 r3614  
    2323</para> 
    2424 
     25@parent:  
    2526 
    2627<!-- ##### FUNCTION tny_gnome_device_new ##### --> 
  • trunk/docs/devel/reference/tmpl/tny-gnome-platform-factory.sgml

    r3611 r3614  
    2323</para> 
    2424 
     25@parent:  
    2526 
    2627<!-- ##### FUNCTION tny_gnome_platform_factory_get_instance ##### --> 
  • trunk/docs/devel/reference/tmpl/tny-moz-embed-html-mime-part-view.sgml

    r3611 r3614  
    2323</para> 
    2424 
     25@parent:  
    2526 
    2627<!-- ##### FUNCTION tny_moz_embed_html_mime_part_view_new ##### --> 
  • trunk/docs/devel/reference/tmpl/tny-send-queue.sgml

    r3611 r3614  
    4040</para> 
    4141 
     42@:  
     43@:  
     44@:  
     45@: 
     46 
    4247@tnysendqueue: the object which received the signal. 
    4348@arg1:  
     
    4954 
    5055</para> 
     56 
     57@:  
     58@:  
     59@:  
     60@:  
     61@: 
    5162 
    5263@tnysendqueue: the object which received the signal. 
     
    6172</para> 
    6273 
     74@:  
     75@:  
     76@:  
     77@:  
     78@: 
     79 
    6380@tnysendqueue: the object which received the signal. 
    6481@arg1:  
     
    7289</para> 
    7390 
    74 @: 
    75  
    7691@tnysendqueue: the object which received the signal. 
    7792 
     
    8095 
    8196</para> 
    82  
    83 @: 
    8497 
    8598@tnysendqueue: the object which received the signal. 
  • trunk/docs/devel/reference/tmpl/tny-shared.sgml

    r3611 r3614  
    5454</para> 
    5555 
    56 @tnyaccountstore: the object which received the signal. 
     56@:  
    5757 
    5858<!-- ##### STRUCT TnyAccountStoreIface ##### --> 
     
    263263</para> 
    264264 
    265 @:  
     265@tnyaccount: the object which received the signal. 
    266266 
    267267<!-- ##### SIGNAL TnyAccount::connection-status-changed ##### --> 
     
    322322</para> 
    323323 
    324 @tnydevice: the object which received the signal. 
    325 @arg1:  
     324@:  
     325@:  
    326326 
    327327<!-- ##### STRUCT TnyDeviceIface ##### --> 
     
    494494</para> 
    495495 
     496@tnysendqueue: the object which received the signal. 
     497@arg1:  
     498@arg2:  
     499@arg3:  
     500 
     501<!-- ##### SIGNAL TnySendQueue::msg-sending ##### --> 
     502<para> 
     503 
     504</para> 
     505 
     506@tnysendqueue: the object which received the signal. 
     507@arg1:  
     508@arg2:  
     509@arg3:  
     510@arg4:  
     511 
     512<!-- ##### SIGNAL TnySendQueue::msg-sent ##### --> 
     513<para> 
     514 
     515</para> 
     516 
     517@tnysendqueue: the object which received the signal. 
     518@arg1:  
     519@arg2:  
     520@arg3:  
     521@arg4:  
     522 
     523<!-- ##### SIGNAL TnySendQueue::queue-start ##### --> 
     524<para> 
     525 
     526</para> 
     527 
    496528@:  
     529 
     530<!-- ##### SIGNAL TnySendQueue::queue-stop ##### --> 
     531<para> 
     532 
     533</para> 
     534 
    497535@:  
    498 @:  
    499 @:  
    500  
    501 <!-- ##### SIGNAL TnySendQueue::msg-sending ##### --> 
    502 <para> 
    503  
    504 </para> 
    505  
    506 @:  
    507 @:  
    508 @:  
    509 @:  
    510 @:  
    511  
    512 <!-- ##### SIGNAL TnySendQueue::msg-sent ##### --> 
    513 <para> 
    514  
    515 </para> 
    516  
    517 @:  
    518 @:  
    519 @:  
    520 @:  
    521 @:  
    522  
    523 <!-- ##### SIGNAL TnySendQueue::queue-start ##### --> 
    524 <para> 
    525  
    526 </para> 
    527  
    528 @tnysendqueue: the object which received the signal. 
    529  
    530 <!-- ##### SIGNAL TnySendQueue::queue-stop ##### --> 
    531 <para> 
    532  
    533 </para> 
    534  
    535 @tnysendqueue: the object which received the signal. 
    536536 
    537537<!-- ##### STRUCT TnySendQueueIface ##### --> 
  • trunk/libtinymail-camel/tny-camel-send-queue.c

    r3598 r3614  
    332332        TnyAccount *outbox_account, *sentbox_account; 
    333333        TnyFolder *outbox, *sentbox; 
     334        TnyTransportAccount *trans_account; 
    334335} MainThreadInfo; 
    335336 
     
    528529                        if (err == NULL)  
    529530                        { 
    530                                 _tny_camel_account_start_camel_operation (TNY_CAMEL_ACCOUNT (priv->trans_account), 
     531                                _tny_camel_account_start_camel_operation (TNY_CAMEL_ACCOUNT (info->trans_account), 
    531532                                                                          NULL, NULL, "Sending message"); 
    532533 
    533534                                g_static_rec_mutex_unlock (priv->sending_lock); 
    534                                 tny_transport_account_send (priv->trans_account, msg, &err); 
     535                                tny_transport_account_send (info->trans_account, msg, &err); 
    535536                                g_static_rec_mutex_lock (priv->sending_lock); 
    536537 
    537                                 _tny_camel_account_stop_camel_operation (TNY_CAMEL_ACCOUNT (priv->trans_account)); 
     538                                _tny_camel_account_stop_camel_operation (TNY_CAMEL_ACCOUNT (info->trans_account)); 
    538539 
    539540                                if (err != NULL) { 
     
    612613        g_object_unref (info->outbox); 
    613614        g_object_unref (info->sentbox); 
     615        g_object_unref (info->trans_account); 
    614616 
    615617        g_slice_free (MainThreadInfo, info); 
     
    661663                        info->sentbox_account = tny_folder_get_account (info->sentbox); 
    662664                        info->outbox_account = tny_folder_get_account (info->outbox); 
     665                        info->trans_account = (TnyTransportAccount *) g_object_ref (priv->trans_account); 
     666 
    663667 
    664668                        emit_queue_control_signals (self, TNY_SEND_QUEUE_START);