[perl-Glib] Add support for G_SPAWN_DEFAULT, if available
- From: Torsten Schönfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Glib] Add support for G_SPAWN_DEFAULT, if available
- Date: Thu, 5 Dec 2013 19:16:20 +0000 (UTC)
commit a1afe8300da8cfea93aa3d10a43a039fb167a06f
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date: Thu Dec 5 20:16:07 2013 +0100
Add support for G_SPAWN_DEFAULT, if available
gperl-gtypes.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gperl-gtypes.c b/gperl-gtypes.c
index 2cdd89c..7b73682 100644
--- a/gperl-gtypes.c
+++ b/gperl-gtypes.c
@@ -177,6 +177,9 @@ gperl_spawn_flags_get_type (void)
static GType etype = 0;
if (G_UNLIKELY(etype == 0)) {
static const GFlagsValue values[] = {
+#if GLIB_CHECK_VERSION (2, 38, 0)
+ { G_SPAWN_DEFAULT, "G_SPAWN_DEFAULT", "default" },
+#endif
{ G_SPAWN_LEAVE_DESCRIPTORS_OPEN, "G_SPAWN_LEAVE_DESCRIPTORS_OPEN", "leave-descriptors-open" },
{ G_SPAWN_DO_NOT_REAP_CHILD, "G_SPAWN_DO_NOT_REAP_CHILD", "do-not-reap-child" },
{ G_SPAWN_SEARCH_PATH, "G_SPAWN_SEARCH_PATH", "search-path" },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]