Changeset 3262

Show
Ignore:
Timestamp:
01/15/08 20:25:30
Author:
svillar
Message:

Fixes a problem with the maemo conic device

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r3261 r3262  
     12008-01-15  Sergio Villar Senin  <svillar@igalia.com> 
     2 
     3        * libtinymail-maemo/tny-maemo-conic-device.c: fixes a condition that 
     4        was preventing the callback of connect_async from being called 
     5 
    162008-01-15  Philip Van Hoof <pvanhoof@gnome.org> 
    27 
  • trunk/libtinymail-maemo/tny-maemo-conic-device.c

    r3260 r3262  
    311311        priv->is_online = is_online; 
    312312 
    313         if (priv->connect_slot &&  
    314                 (con_err != CON_IC_CONNECTION_ERROR_NONE ||  
    315                  con_state == CON_IC_STATUS_CONNECTED))  
    316         { 
    317  
    318                 /* If there's an error or if we just connected, we call the 
    319                  * callback for tny_maemo_conic_device_connect, if any */ 
     313        if (priv->connect_slot) { 
    320314 
    321315                iinfo = g_slice_new (HandleConnInfo); 
     
    325319 
    326320                g_idle_add_full (G_PRIORITY_HIGH, handle_con_idle, iinfo,  
    327                         handle_con_idle_destroy); 
     321                                handle_con_idle_destroy); 
    328322        } 
    329323