r2344 - trunk/src/target/OM-2007/applications/openmoko-dialer/src

njp at sita.openmoko.org njp at sita.openmoko.org
Mon Jun 25 14:22:37 CEST 2007


Author: njp
Date: 2007-06-25 14:22:36 +0200 (Mon, 25 Jun 2007)
New Revision: 2344

Modified:
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer.c
Log:
Make sure dbus input args are const

Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer.c	2007-06-25 12:06:56 UTC (rev 2343)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/moko-dialer.c	2007-06-25 12:22:36 UTC (rev 2344)
@@ -135,7 +135,7 @@
 }
 
 static gboolean
-moko_dialer_dial (MokoDialer *dialer, gchar *number, GError *error)
+moko_dialer_dial (MokoDialer *dialer, const gchar *number, GError *error)
 {
   MokoDialerPrivate *priv;
 
@@ -150,7 +150,7 @@
 }
 
 static gboolean
-moko_dialer_hang_up (MokoDialer *dialer, gchar *message, GError *error)
+moko_dialer_hang_up (MokoDialer *dialer, const gchar *message, GError *error)
 {
   g_return_val_if_fail (MOKO_IS_DIALER (dialer), FALSE);
   





More information about the commitlog mailing list