| 242 char *quoted = g_shell_quote(mail); |
242 char *quoted = g_shell_quote(mail); |
| 243 char *command_line = g_strdup_printf("%s mailto:%s", app, quoted); |
243 char *command_line = g_strdup_printf("%s mailto:%s", app, quoted); |
| 244 g_free(app); |
244 g_free(app); |
| 245 g_free(mail); |
245 g_free(mail); |
| 246 |
246 |
| 247 g_spawn_command_line_async(command_line, NULL); |
247 if (!g_spawn_command_line_async(command_line, NULL)) { |
| |
248 purple_debug_error("gevolution", |
| |
249 "Failed executing mailto command"); |
| |
250 } |
| 248 g_free(command_line); |
251 g_free(command_line); |
| 249 g_free(quoted); |
252 g_free(quoted); |
| 250 } |
253 } |
| 251 else |
254 else |
| 252 { |
255 { |