[gnome-bluetooth/meego] Parameters for g_async_spawn need no quotes



commit 8751102c27b0f6421367e59e0bae2944eb5f4975
Author: Raul Gutierrez Segales <rgs collabora co uk>
Date:   Mon Jun 27 15:04:16 2011 +0100

    Parameters for g_async_spawn need no quotes
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=653479

 applet/main.c         |    4 ++--
 moblin/moblin-panel.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/applet/main.c b/applet/main.c
index ecab2ed..99aef40 100644
--- a/applet/main.c
+++ b/applet/main.c
@@ -200,13 +200,13 @@ void sendto_callback(GObject *widget, gpointer user_data)
 	if (address != NULL) {
 		char *s;
 
-		s = g_strdup_printf ("--device=\"%s\"", address);
+		s = g_strdup_printf ("--device=%s", address);
 		g_ptr_array_add (a, s);
 	}
 	if (address != NULL && alias != NULL) {
 		char *s;
 
-		s = g_strdup_printf ("--name=\"%s\"", alias);
+		s = g_strdup_printf ("--name=%s", alias);
 		g_ptr_array_add (a, s);
 	}
 	g_ptr_array_add (a, NULL);
diff --git a/moblin/moblin-panel.c b/moblin/moblin-panel.c
index 0b41752..a7a3de0 100644
--- a/moblin/moblin-panel.c
+++ b/moblin/moblin-panel.c
@@ -399,13 +399,13 @@ send_file_button_clicked_cb (GtkButton *button,
 	if (address != NULL) {
 		char *s;
 
-		s = g_strdup_printf ("--device=\"%s\"", address);
+		s = g_strdup_printf ("--device=%s", address);
 		g_ptr_array_add (a, s);
 	}
 	if (address != NULL && name != NULL) {
 		char *s;
 
-		s = g_strdup_printf ("--name=\"%s\"", name);
+		s = g_strdup_printf ("--name=%s", name);
 		g_ptr_array_add (a, s);
 	}
 	g_ptr_array_add (a, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]