r1074 - in trunk/src/target/OM-2007/applications/openmoko-contacts: . src

thomas at sita.openmoko.org thomas at sita.openmoko.org
Wed Feb 21 17:00:12 CET 2007


Author: thomas
Date: 2007-02-21 17:00:11 +0100 (Wed, 21 Feb 2007)
New Revision: 1074

Modified:
   trunk/src/target/OM-2007/applications/openmoko-contacts/ChangeLog
   trunk/src/target/OM-2007/applications/openmoko-contacts/src/contacts-main.c
Log:
* src/contacts-main.c: (main): Fix some compiler warnings


Modified: trunk/src/target/OM-2007/applications/openmoko-contacts/ChangeLog
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-contacts/ChangeLog	2007-02-21 15:38:23 UTC (rev 1073)
+++ trunk/src/target/OM-2007/applications/openmoko-contacts/ChangeLog	2007-02-21 16:00:11 UTC (rev 1074)
@@ -1,5 +1,9 @@
 2007-02-21  Thomas Wood  <thomas at openedhand.com>
 
+	* src/contacts-main.c: (main): Fix some compiler warnings
+
+2007-02-21  Thomas Wood  <thomas at openedhand.com>
+
 	* src/contacts-contact-pane.c:
 
 	- Add support for handling multi-valued attributes.

Modified: trunk/src/target/OM-2007/applications/openmoko-contacts/src/contacts-main.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-contacts/src/contacts-main.c	2007-02-21 15:38:23 UTC (rev 1073)
+++ trunk/src/target/OM-2007/applications/openmoko-contacts/src/contacts-main.c	2007-02-21 16:00:11 UTC (rev 1074)
@@ -176,7 +176,7 @@
 	data->ui = g_new0 (ContactsUI, 1);
 	data->initialising = TRUE; /* initialising until contacts have been loaded for the first time */
 	bacon_message_connection_set_callback (
-		mc, contacts_bacon_cb, data);
+		mc, (BaconMessageReceivedFunc)contacts_bacon_cb, data);
 
 	/* Set critical errors to close application */
 	//g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL);
@@ -201,10 +201,10 @@
 #endif
 
 	/* Start */
-	g_idle_add (open_book, data);
+	g_idle_add ((GSourceFunc)open_book, data);
 	if (argv[1] != NULL) {
 		data->file = argv[1];
-		g_idle_add (contacts_import_from_param, data);
+		g_idle_add ((GSourceFunc)contacts_import_from_param, data);
 	}
 	
 	widget = data->ui->main_window;





More information about the commitlog mailing list