[glibmm] Spawn: Use the new SPAWN_DEFAULT instead of 0.



commit add3b92361e1e5f23116a101f74be442ae38f4be
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Sep 20 10:47:57 2013 +0200

    Spawn: Use the new SPAWN_DEFAULT instead of 0.
    
    * glib/src/spawn.hg: The value is the same, however.

 glib/src/spawn.hg |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/glib/src/spawn.hg b/glib/src/spawn.hg
index 2d4172b..bb53a08 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]