Changeset 2328

Show
Ignore:
Timestamp:
06/29/07 19:54:04
Author:
murrayc
Message:

2007-06-29 Murray Cumming <murrayc@murrayc.com>

        • libtinymail-maemo/tny-maemo-conic-device.c:

(on_connection_event), (tny_maemo_conic_device_connect):
Removed debug output.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r2324 r2328  
     12007-06-29  Murray Cumming  <murrayc@murrayc.com> 
     2 
     3        * libtinymail-maemo/tny-maemo-conic-device.c: 
     4        (on_connection_event), (tny_maemo_conic_device_connect): 
     5        Removed debug output. 
     6 
    172007-06-29  Murray Cumming  <murrayc@murrayc.com> 
    28 
  • trunk/libtinymail-maemo/tny-maemo-conic-device.c

    r2324 r2328  
    142142                stop_loop (device); 
    143143                         
    144                 g_message ("new status: CONNECTED (%s)", priv->iap); 
     144                /* g_message ("new status: CONNECTED (%s)", priv->iap); */ 
    145145                break; 
    146146        case CON_IC_STATUS_DISCONNECTED: 
     
    152152                stop_loop (device); 
    153153                         
    154                 g_message ("new status: DISCONNECTED"); 
     154                /* g_message ("new status: DISCONNECTED"); */ 
    155155                break; 
    156156        case CON_IC_STATUS_DISCONNECTING: 
    157157                is_online = FALSE; 
    158                 g_message ("new status: DISCONNECTING"); 
     158                /* g_message ("new status: DISCONNECTING"); */ 
    159159                break; 
    160160        default: 
     
    164164        priv->is_online = is_online; 
    165165        priv->forced = FALSE; /* is_online is now accurate. */ 
    166         g_message ("emitting signal CONNECTION_CHANGED: %s", is_online ? "online" : "offline"); 
     166        g_message ("DEBUG: %s: emitting signal CONNECTION_CHANGED: %s", is_online ? "online" : "offline"); 
    167167        g_signal_emit (device, tny_device_signals [TNY_DEVICE_CONNECTION_CHANGED], 
    168168                       0, is_online); 
     
    204204                } 
    205205        } else { 
    206 printf ("debug2\n"); 
    207206                if (!con_ic_connection_connect (priv->cnx, CON_IC_CONNECT_FLAG_NONE)) { 
    208207                        g_warning ("could not send connect dbus message"); 
    209208                        request_failed = TRUE; 
    210209                } 
    211 printf ("debug3\n"); 
    212210        } 
    213211 
     
    220218         * CON_IC_STATUS_DISCONNECTED event: */ 
    221219          
    222 printf ("debug4\n"); 
    223220        /* This is based on code found in gtk_dialog_run(): */ 
    224221        GDK_THREADS_LEAVE(); 
    225 printf ("debug5\n"); 
    226222        /* Run until g_main_loop_quit() is called by our signal handler. */ 
    227223        g_main_loop_run (priv->loop); 
    228 printf ("debug6\n"); 
    229224        GDK_THREADS_ENTER(); 
    230 printf ("debug7\n"); 
     225 
    231226        g_main_loop_unref (priv->loop); 
    232 printf ("debug8\n"); 
    233227        priv->loop = NULL; 
    234228