diff options
author | Stefano Karapetsas <[email protected]> | 2012-11-16 05:09:45 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-11-16 05:09:45 -0800 |
commit | bc18e5b352952b6365e5dff9de0f02f03f8efb13 (patch) | |
tree | 75c1b70532853914102d5272de8dacc61342c5a5 /src/file-share-properties.c | |
parent | 85ab680ab5b17c84c3b62c59e830e532b03df09a (diff) | |
parent | 2a7396735127cf392c93bd74a4e39c2f65bf1ded (diff) | |
download | mate-user-share-bc18e5b352952b6365e5dff9de0f02f03f8efb13.tar.bz2 mate-user-share-bc18e5b352952b6365e5dff9de0f02f03f8efb13.tar.xz |
Merge pull request #5 from jasmineaura/develop
improve the sharebar, make it an GtkInfoBar, and some fixes
Diffstat (limited to 'src/file-share-properties.c')
-rw-r--r-- | src/file-share-properties.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/file-share-properties.c b/src/file-share-properties.c index a35296f..e2aae02 100644 --- a/src/file-share-properties.c +++ b/src/file-share-properties.c @@ -243,23 +243,8 @@ password_combo_changed (GtkComboBox *combo_box) static void launch_share (void) { - char *argv[2]; - int i; - - i = 0; - argv[i++] = USER_SHARE_PROGRAM; - argv[i++] = NULL; - - if (!g_spawn_async (NULL, - argv, - NULL, - 0, /* G_SPAWN_STDOUT_TO_DEV_NULL | G_SPAWN_STDERR_TO_DEV_NULL */ - NULL, - NULL, - NULL, - NULL)) { + if (!g_spawn_command_line_async (USER_SHARE_PROGRAM, NULL)) g_warning ("Unable to start mate-user-share program"); - } } static void |