gapplicationimpl-dbus: Fix leak of fd list object
[platform/upstream/glib.git] / gio / gsubprocesslauncher.h
index 9a11b3c..ab4ad5e 100644 (file)
@@ -14,9 +14,7 @@
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General
- * Public License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
  *
  * Author: Ryan Lortie <desrt@desrt.ca>
  * Author: Colin Walters <walters@verbum.org>
@@ -56,7 +54,7 @@ GSubprocess *           g_subprocess_launcher_spawnv                    (GSubpro
 
 GLIB_AVAILABLE_IN_2_40
 void                    g_subprocess_launcher_set_environ               (GSubprocessLauncher   *self,
-                                                                         gchar                **environ);
+                                                                         gchar                **env);
 
 GLIB_AVAILABLE_IN_2_40
 void                    g_subprocess_launcher_setenv                    (GSubprocessLauncher   *self,
@@ -101,7 +99,7 @@ void                    g_subprocess_launcher_take_stderr_fd            (GSubpro
                                                                          gint                   fd);
 
 GLIB_AVAILABLE_IN_2_40
-void                    g_subprocess_launcher_pass_fd                   (GSubprocessLauncher   *self,
+void                    g_subprocess_launcher_take_fd                   (GSubprocessLauncher   *self,
                                                                          gint                   source_fd,
                                                                          gint                   target_fd);