[gnome-bluetooth] applet: Parameters for g_async_spawn need no quotes
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] applet: Parameters for g_async_spawn need no quotes
- Date: Mon, 27 Jun 2011 14:27:19 +0000 (UTC)
commit 4f1a25e9f5f7f2e4fe576c0e181553cd4e4e8d6c
Author: Raul Gutierrez Segales <rgs collabora co uk>
Date: Mon Jun 27 14:58:22 2011 +0100
applet: Parameters for g_async_spawn need no quotes
https://bugzilla.gnome.org/show_bug.cgi?id=653479
applet/bluetooth-applet.c | 2 +-
moblin/moblin-panel.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/applet/bluetooth-applet.c b/applet/bluetooth-applet.c
index 7c14977..fbc1a21 100644
--- a/applet/bluetooth-applet.c
+++ b/applet/bluetooth-applet.c
@@ -241,7 +241,7 @@ void bluetooth_applet_send_to_address (BluetoothApplet *applet,
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 ae79128..83f01ed 100644
--- a/moblin/moblin-panel.c
+++ b/moblin/moblin-panel.c
@@ -367,13 +367,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]