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

thomas at sita.openmoko.org thomas at sita.openmoko.org
Thu Oct 4 18:10:13 CEST 2007


Author: thomas
Date: 2007-10-04 18:10:12 +0200 (Thu, 04 Oct 2007)
New Revision: 3084

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-keypad.c
Log:
* src/moko-contacts.c: (moko_contacts_init):
* src/moko-keypad.c: (moko_keypad_set_display_text):

Fix compiler warnings


Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog	2007-10-04 13:50:59 UTC (rev 3083)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog	2007-10-04 16:10:12 UTC (rev 3084)
@@ -1,3 +1,10 @@
+2007-10-04  Thomas Wood  <thomas at openedhand.com>
+
+	* src/moko-contacts.c: (moko_contacts_init):
+	* src/moko-keypad.c: (moko_keypad_set_display_text):
+
+	Fix compiler warnings
+
 2007-10-02  Thomas Wood  <thomas at openedhand.com>
 
 	Patch by: Roman Moravcik <roman.moravcik at gmail.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-10-04 13:50:59 UTC (rev 3083)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-contacts.c	2007-10-04 16:10:12 UTC (rev 3084)
@@ -421,7 +421,9 @@
 
   priv = contacts->priv = MOKO_CONTACTS_GET_PRIVATE (contacts);
 
-  priv->contacts = priv->entries = priv->start = NULL;
+  priv->contacts = NULL;
+  priv->entries = NULL;
+  priv->start = NULL;
   priv->prefixes = g_hash_table_new ((GHashFunc)g_str_hash,
                                      (GEqualFunc)g_str_equal);
   

Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-keypad.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-keypad.c	2007-10-04 13:50:59 UTC (rev 3083)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-keypad.c	2007-10-04 16:10:12 UTC (rev 3084)
@@ -115,8 +115,8 @@
   g_return_if_fail (MOKO_IS_KEYPAD (keypad));
   priv = keypad->priv;
 
-  moko_dialer_textview_empty (priv->textview);
-  moko_dialer_textview_insert (priv->textview, text);
+  moko_dialer_textview_empty (MOKO_DIALER_TEXTVIEW (priv->textview));
+  moko_dialer_textview_insert (MOKO_DIALER_TEXTVIEW (priv->textview), text);
 }
 
 void





More information about the commitlog mailing list