All pastes #142158 Raw Edit

Anonymous

public text v1 · immutable
#142158 ·published 2006-08-21 09:17 UTC
rendered paste body
Index: src/palm_sync.c
===================================================================
--- src/palm_sync.c	(revision 1204)
+++ src/palm_sync.c	(working copy)
@@ -499,6 +499,7 @@
 	return FALSE;
 }
 
+#if 0
 static gboolean _psyncPoll(gpointer data)
 {
 	osync_trace(TRACE_ENTRY, "%s(%p)", __func__, data);
@@ -518,6 +519,7 @@
 	osync_trace(TRACE_EXIT, "%s", __func__);
 	return TRUE;
 }
+#endif
 
 static gboolean _psyncPing(gpointer data)
 {
@@ -550,9 +552,11 @@
 	
 
 //FIXME also polls at the end of a hot sync ... 
+#if 0	
 	source = g_timeout_source_new(1000);
 	g_source_set_callback(source, _psyncPoll, env, NULL);
 	g_source_attach(source, context);
+#endif	
 
 	osync_trace(TRACE_EXIT, "%s", __func__);
 }