From 9af4eb021fd5b34ec1fa4ee6eb01eab0b3924ebc Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 13 Oct 2012 00:42:44 +0200 Subject: fix incorrect FSF address --- src/file-share-properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/file-share-properties.c') diff --git a/src/file-share-properties.c b/src/file-share-properties.c index 0ec5594..a35296f 100644 --- a/src/file-share-properties.c +++ b/src/file-share-properties.c @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: Alexander Larsson * -- cgit v1.2.1 From 40d028e599d8b81f087cf68cb16593e8080d9d17 Mon Sep 17 00:00:00 2001 From: Jasmine Hassan Date: Mon, 29 Oct 2012 08:20:51 +0200 Subject: [file-share-properties] simplify launching mate-user-share http://git.gnome.org/browse/gnome-user-share/commit/?id=8acfa630af2bab6eb2f5b04e37c4a36d0d55d20f --- src/file-share-properties.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'src/file-share-properties.c') 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 -- cgit v1.2.1