Changeset 1842
- Timestamp:
- 04/27/07 09:39:03
- Files:
-
- trunk/ChangeLog (modified) (1 diff)
- trunk/libtinymail-maemo/tny-maemo-conic-device.c (modified) (3 diffs)
- trunk/libtinymail/tny-device.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ChangeLog
r1840 r1842 1 2007-04-27 Murray Cumming <murrayc@murrayc.com> 2 3 * libtinymail-maemo/tny-maemo-conic-device.c: 4 (on_connection_event), (tny_maemo_conic_device_get_iap): Added some comments and 5 improved the (temporary) debug output so its more obvious what is happening. 6 7 * libtinymail/tny-device.c: Correct the tny_device_force_offline() and 8 tny_device_force_online() documentation. They were swapped. 9 This still needs more documentation describing how these behave. 10 1 11 2007-04-26 Murray Cumming <murrayc@murrayc.com> 2 12 trunk/libtinymail-maemo/tny-maemo-conic-device.c
r1840 r1842 58 58 59 59 #ifdef MAEMO_CONIC_DUMMY 60 g_message (" outsmarting libconic");60 g_message ("%s: HACK: outsmarting libconic by emitting signal regardless of the reported connection status.", __FUNCTION__); 61 61 g_signal_emit (device, tny_device_signals [TNY_DEVICE_CONNECTION_CHANGED], 62 62 0, TRUE); … … 203 203 * @iap_id: the id of the IAP to get 204 204 * 205 * get the IAP object (#ConIcIap) for the give iap-id. The returned GObject must be205 * get the IAP object (#ConIcIap) for the given iap-id. The returned GObject must be 206 206 * freed with g_object_unref after use. Refer to the ConIc documentation for details about 207 207 * the #ConICIap. … … 221 221 priv = TNY_MAEMO_CONIC_DEVICE_GET_PRIVATE (self); 222 222 223 /* Note that it is very unusual to return a reference from a get_() function, 224 * but we must do so because that mistake has already been made in 225 * con_ic_connection_get_iap(). 226 * If we just unref immediately then libconic might destroy the object. 227 */ 223 228 return con_ic_connection_get_iap (priv->cnx, iap_id); 224 229 } trunk/libtinymail/tny-device.c
r1724 r1842 47 47 48 48 /** 49 * tny_device_force_o ffline:49 * tny_device_force_online: 50 50 * @self: a #TnyDevice object 51 51 * 52 * Force offline status 53 * 54 * Example: 55 * <informalexample><programlisting> 56 * TnyDevice *device = ... 57 * tny_device_force_offline (device); 58 * if (tny_device_is_online (device)) 59 * g_print ("Something is wrong\n"); 60 * tny_device_reset (device); 61 * </programlisting></informalexample> 52 * Force online status 62 53 **/ 63 54 void … … 79 70 80 71 /** 81 * tny_device_force_o nline:72 * tny_device_force_offline: 82 73 * @self: a #TnyDevice object 83 74 * 84 * Force online status 75 * Force offline status 76 * 77 * Example: 78 * <informalexample><programlisting> 79 * TnyDevice *device = ... 80 * tny_device_force_offline (device); 81 * if (tny_device_is_online (device)) 82 * g_print ("Something is wrong\n"); 83 * tny_device_reset (device); 84 * </programlisting></informalexample> 85 85 **/ 86 86 void
