[baobab] baobab-connect-server: fix spawning of nautilus-connect-server



commit 109a749d50edd90fc36ba6c472b91bd2dd01430c
Author: Antoine Jacoutot <ajacoutot gnome org>
Date:   Fri Jan 11 16:02:09 2013 +0100

    baobab-connect-server: fix spawning of nautilus-connect-server
    
    NULL-terminate argv in ConnectServer so that Process.spawn_async_with_pipes
    can properly do its job and run nautilus-connect-server.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690037

 src/baobab-connect-server.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/baobab-connect-server.vala b/src/baobab-connect-server.vala
index fc50f2e..fe9a451 100644
--- a/src/baobab-connect-server.vala
+++ b/src/baobab-connect-server.vala
@@ -23,7 +23,8 @@ namespace Baobab {
     class ConnectServer : Object {
         const string[] argv = {
             "nautilus-connect-server",
-            "--print-uri"
+            "--print-uri",
+            null
         };
 
         public signal void selected(string? uri);



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