Changeset 2328
- Timestamp:
- 06/29/07 19:54:04
- Files:
-
- trunk/ChangeLog (modified) (1 diff)
- trunk/libtinymail-maemo/tny-maemo-conic-device.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ChangeLog
r2324 r2328 1 2007-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 1 7 2007-06-29 Murray Cumming <murrayc@murrayc.com> 2 8 trunk/libtinymail-maemo/tny-maemo-conic-device.c
r2324 r2328 142 142 stop_loop (device); 143 143 144 g_message ("new status: CONNECTED (%s)", priv->iap);144 /* g_message ("new status: CONNECTED (%s)", priv->iap); */ 145 145 break; 146 146 case CON_IC_STATUS_DISCONNECTED: … … 152 152 stop_loop (device); 153 153 154 g_message ("new status: DISCONNECTED");154 /* g_message ("new status: DISCONNECTED"); */ 155 155 break; 156 156 case CON_IC_STATUS_DISCONNECTING: 157 157 is_online = FALSE; 158 g_message ("new status: DISCONNECTING");158 /* g_message ("new status: DISCONNECTING"); */ 159 159 break; 160 160 default: … … 164 164 priv->is_online = is_online; 165 165 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"); 167 167 g_signal_emit (device, tny_device_signals [TNY_DEVICE_CONNECTION_CHANGED], 168 168 0, is_online); … … 204 204 } 205 205 } else { 206 printf ("debug2\n");207 206 if (!con_ic_connection_connect (priv->cnx, CON_IC_CONNECT_FLAG_NONE)) { 208 207 g_warning ("could not send connect dbus message"); 209 208 request_failed = TRUE; 210 209 } 211 printf ("debug3\n");212 210 } 213 211 … … 220 218 * CON_IC_STATUS_DISCONNECTED event: */ 221 219 222 printf ("debug4\n");223 220 /* This is based on code found in gtk_dialog_run(): */ 224 221 GDK_THREADS_LEAVE(); 225 printf ("debug5\n");226 222 /* Run until g_main_loop_quit() is called by our signal handler. */ 227 223 g_main_loop_run (priv->loop); 228 printf ("debug6\n");229 224 GDK_THREADS_ENTER(); 230 printf ("debug7\n"); 225 231 226 g_main_loop_unref (priv->loop); 232 printf ("debug8\n");233 227 priv->loop = NULL; 234 228
