r2779 - in trunk/src/target/OM-2007.2/applications/openmoko-dialer2: . src

njp at sita.openmoko.org njp at sita.openmoko.org
Wed Aug 22 16:24:32 CEST 2007


Author: njp
Date: 2007-08-22 16:24:30 +0200 (Wed, 22 Aug 2007)
New Revision: 2779

Modified:
   trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
   trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-contacts.c
   trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-notify.c
Log:
2007-08-22  Neil J. Patel  <njp at o-hand.com>

	* src/moko-contacts.c: (moko_contacts_fuzzy_lookup):
	* src/moko-notify.c: (moko_notify_check_brightness):
	Remove some unnecessary printf's.

Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog	2007-08-22 14:15:24 UTC (rev 2778)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog	2007-08-22 14:24:30 UTC (rev 2779)
@@ -1,6 +1,12 @@
 2007-08-22  Neil J. Patel  <njp at o-hand.com>
 
+	* src/moko-contacts.c: (moko_contacts_fuzzy_lookup):
 	* src/moko-notify.c: (moko_notify_check_brightness):
+	Remove some unnecessary printf's.
+
+2007-08-22  Neil J. Patel  <njp at o-hand.com>
+
+	* src/moko-notify.c: (moko_notify_check_brightness):
 	More notification fixes.
 
 2007-08-22  Neil J. Patel  <njp at o-hand.com>

Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-contacts.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-contacts.c	2007-08-22 14:15:24 UTC (rev 2778)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-contacts.c	2007-08-22 14:24:30 UTC (rev 2779)
@@ -119,10 +119,8 @@
   cur = priv->start;
 
   if (!cur)
-  {
-    g_print ("Invalid contacts data start point\n");
     return NULL;
-  }
+  
   if (!number)
     return NULL;
 

Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-notify.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-notify.c	2007-08-22 14:15:24 UTC (rev 2778)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-notify.c	2007-08-22 14:24:30 UTC (rev 2779)
@@ -77,13 +77,13 @@
     return;
   }
   
+  /* The reading is for a 'smooth' brightness from current to max */
   dev = g_io_channel_unix_new (fd);
-
   if (g_io_channel_read_chars (dev, buf, 50, &bytes, &err) 
         == G_IO_STATUS_NORMAL)
   {
     buf[bytes] = '\0';
-    g_print ("%s\n", buf);
+    /*g_print ("Current brightness = %s\n", buf); */
   }
   else
   {





More information about the commitlog mailing list