summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2013-09-20 10:47:57 +0200
committerMurray Cumming <murrayc@murrayc.com>2013-09-20 10:47:57 +0200
commitadd3b92361e1e5f23116a101f74be442ae38f4be (patch)
tree41c84b0a813dc8629748be60b81711abfea11453
parent2b715e511f01f1dac742016f356c6866c4616a36 (diff)
downloadglibmm-add3b92361e1e5f23116a101f74be442ae38f4be.tar.gz
Spawn: Use the new SPAWN_DEFAULT instead of 0.
* glib/src/spawn.hg: The value is the same, however.
-rw-r--r--glib/src/spawn.hg12
1 files changed, 6 insertions, 6 deletions
diff --git a/glib/src/spawn.hg b/glib/src/spawn.hg
index 2d4172bd..bb53a087 100644
--- a/glib/src/spawn.hg
+++ b/glib/src/spawn.hg
@@ -190,7 +190,7 @@ _WRAP_GERROR(SpawnError, GSpawnError, G_SPAWN_ERROR, NO_GTYPE, s#^2BIG$#TOOBIG#)
void spawn_async_with_pipes(const std::string& working_directory,
const Glib::ArrayHandle<std::string>& argv,
const Glib::ArrayHandle<std::string>& envp,
- SpawnFlags flags = SpawnFlags(0),
+ SpawnFlags flags = SPAWN_DEFAULT,
const sigc::slot<void>& child_setup = sigc::slot<void>(),
Pid* child_pid = 0,
int* standard_input = 0,
@@ -216,7 +216,7 @@ void spawn_async_with_pipes(const std::string& working_directory,
*/
void spawn_async_with_pipes(const std::string& working_directory,
const Glib::ArrayHandle<std::string>& argv,
- SpawnFlags flags = SpawnFlags(0),
+ SpawnFlags flags = SPAWN_DEFAULT,
const sigc::slot<void>& child_setup = sigc::slot<void>(),
Pid* child_pid = 0,
int* standard_input = 0,
@@ -247,7 +247,7 @@ void spawn_async_with_pipes(const std::string& working_directory,
void spawn_async(const std::string& working_directory,
const Glib::ArrayHandle<std::string>& argv,
const Glib::ArrayHandle<std::string>& envp,
- SpawnFlags flags = SpawnFlags(0),
+ SpawnFlags flags = SPAWN_DEFAULT,
const sigc::slot<void>& child_setup = sigc::slot<void>(),
Pid* child_pid = 0);
@@ -266,7 +266,7 @@ void spawn_async(const std::string& working_directory,
*/
void spawn_async(const std::string& working_directory,
const Glib::ArrayHandle<std::string>& argv,
- SpawnFlags flags = SpawnFlags(0),
+ SpawnFlags flags = SPAWN_DEFAULT,
const sigc::slot<void>& child_setup = sigc::slot<void>(),
Pid* child_pid = 0);
@@ -305,7 +305,7 @@ void spawn_async(const std::string& working_directory,
void spawn_sync(const std::string& working_directory,
const Glib::ArrayHandle<std::string>& argv,
const Glib::ArrayHandle<std::string>& envp,
- SpawnFlags flags = SpawnFlags(0),
+ SpawnFlags flags = SPAWN_DEFAULT,
const sigc::slot<void>& child_setup = sigc::slot<void>(),
std::string* standard_output = 0,
std::string* standard_error = 0,
@@ -329,7 +329,7 @@ void spawn_sync(const std::string& working_directory,
*/
void spawn_sync(const std::string& working_directory,
const Glib::ArrayHandle<std::string>& argv,
- SpawnFlags flags = SpawnFlags(0),
+ SpawnFlags flags = SPAWN_DEFAULT,
const sigc::slot<void>& child_setup = sigc::slot<void>(),
std::string* standard_output = 0,
std::string* standard_error = 0,