phonemgr r120 - in trunk: . libgsm src



Author: hadess
Date: 2007-07-03 18:45:11 +0100 (Tue, 03 Jul 2007)
New Revision: 120
ViewCVS link: http://svn.gnome.org/viewcvs/phonemgr?rev=120&view=rev

Modified:
   trunk/ChangeLog
   trunk/libgsm/glibgsmtest.c
   trunk/libgsm/phonemgr-listener.c
   trunk/libgsm/phonemgr-listener.h
   trunk/src/app.h
   trunk/src/connection.c
   trunk/src/ui.c
Log:
2007-07-03  Bastien Nocera  <hadess hadess net>

	* libgsm/glibgsmtest.c: (message), (main):
	* libgsm/phonemgr-listener.c: (gn_timestamp_to_gtime),
	(phonemgr_listener_emit_message), (phonemgr_listener_poll_real):
	* libgsm/phonemgr-listener.h:
	* src/app.h:
	* src/connection.c: (on_message):
	* src/ui.c: (time_to_string), (dequeue_message):
	Use time_t instead of GTime all around, as GTime is 32-bit even on
	64-bit platforms.
			 
	Use strftime directly instead of g_date_strftime(), as GDate doesn't do
	time, just dates, fixes all messages as showing up as sent at midnight

	Fix crasher when receiving new message, gn_sms was freed in another function
	when it's supposed to be on the stack. Allocate it properly instead,
	and only free it in the idle handler, or if the message isn't unread.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]