diff options
author | Murray Cumming <murrayc@murrayc.com> | 2004-03-02 23:29:57 +0000 |
---|---|---|
committer | Murray Cumming <murrayc@src.gnome.org> | 2004-03-02 23:29:57 +0000 |
commit | 9ae4cd1cd9ad5c87a7ca61491e5add1572b673bb (patch) | |
tree | bb11326b10b2ccef86184bf5c559507d1df70569 /glib/src/spawn.ccg | |
parent | cac267f98a0a15eb60a5a4ebd737e94b2ff0f2f9 (diff) | |
download | glibmm-9ae4cd1cd9ad5c87a7ca61491e5add1572b673bb.tar.gz |
Added glib/glibmm/i18n.h and i18n-lib.h which defines _() and friends for
2004-03-03 Murray Cumming <murrayc@murrayc.com>
* Added glib/glibmm/i18n.h and i18n-lib.h which defines _() and friends
for internationalization. See the comments in the header - you must
include things in the right order.
* glib/src/spawn.[hg|ccg]: Added spawn_close_id() as wrapper for
g_spawn_close_id().
* glib/glibmm/main.[h|cc]: Added MainLoop::depth() as wrapper for
g_main_depth().
Diffstat (limited to 'glib/src/spawn.ccg')
-rw-r--r-- | glib/src/spawn.ccg | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/glib/src/spawn.ccg b/glib/src/spawn.ccg index 07f1e248..a9517933 100644 --- a/glib/src/spawn.ccg +++ b/glib/src/spawn.ccg @@ -66,7 +66,7 @@ void spawn_async_with_pipes(const std::string& working_directory, const Glib::ArrayHandle<std::string>& envp, SpawnFlags flags, const sigc::slot<void>& child_setup, - int* child_pid, + Pid* child_pid, int* standard_input, int* standard_output, int* standard_error) @@ -94,7 +94,7 @@ void spawn_async_with_pipes(const std::string& working_directory, const Glib::ArrayHandle<std::string>& argv, SpawnFlags flags, const sigc::slot<void>& child_setup, - int* child_pid, + Pid* child_pid, int* standard_input, int* standard_output, int* standard_error) @@ -122,7 +122,7 @@ void spawn_async(const std::string& working_directory, const Glib::ArrayHandle<std::string>& envp, SpawnFlags flags, const sigc::slot<void>& child_setup, - int* child_pid) + Pid* child_pid) { const bool setup_slot = !child_setup.empty(); sigc::slot<void> child_setup_ = child_setup; @@ -146,7 +146,7 @@ void spawn_async(const std::string& working_directory, const Glib::ArrayHandle<std::string>& argv, SpawnFlags flags, const sigc::slot<void>& child_setup, - int* child_pid) + Pid* child_pid) { const bool setup_slot = !child_setup.empty(); sigc::slot<void> child_setup_ = child_setup; @@ -265,5 +265,10 @@ void spawn_command_line_sync(const std::string& command_line, copy_output_buf(standard_error, buf_standard_error.get()); } +void spawn_close_pid(Pid pid) +{ + g_spawn_close_pid(pid); +} + } // namespace Glib |