summaryrefslogtreecommitdiff
path: root/gio/glib-compile-resources.c
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2012-07-30 17:58:13 +0200
committerRyan Lortie <desrt@desrt.ca>2012-08-14 18:37:13 -0400
commit6c0eb19f024aeda81ff2f35aee82f5f344619665 (patch)
treee9479a1850329e66e9dc900d7033bd86e9aac5d3 /gio/glib-compile-resources.c
parent0b38de0a384e50acacd7d5e8d5785af53a16637d (diff)
downloadglib-wip/gsubprocess-desrt.tar.gz
Ryan's GSubprocess proposalwip/gsubprocess-desrt
Diffstat (limited to 'gio/glib-compile-resources.c')
-rw-r--r--gio/glib-compile-resources.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/gio/glib-compile-resources.c b/gio/glib-compile-resources.c
index 8225a9db5..a6066c5f2 100644
--- a/gio/glib-compile-resources.c
+++ b/gio/glib-compile-resources.c
@@ -315,11 +315,7 @@ end_element (GMarkupParseContext *context,
g_ptr_array_addv (args, xmllint, "--nonet", "--noblanks", "--output",
tmp_file, real_file, NULL);
g_ptr_array_add (args, NULL);
- proc = g_subprocess_new ((gchar**)args->pdata, NULL, NULL, 0, NULL, NULL,
- g_subprocess_stream_devnull (),
- g_subprocess_stream_inherit (),
- g_subprocess_stream_inherit (),
- error);
+ proc = g_subprocess_new (NULL, (const gchar**)args->pdata, NULL, 0, error);
g_ptr_array_free (args, TRUE);
g_free (real_file);
real_file = NULL;
@@ -369,11 +365,7 @@ end_element (GMarkupParseContext *context,
args = g_ptr_array_new ();
g_ptr_array_addv (args, gdk_pixbuf_pixdata, real_file, tmp_file2, NULL);
g_ptr_array_add (args, NULL);
- proc = g_subprocess_new ((gchar**)args->pdata, NULL, NULL, 0, NULL, NULL,
- g_subprocess_stream_devnull (),
- g_subprocess_stream_inherit (),
- g_subprocess_stream_inherit (),
- error);
+ proc = g_subprocess_new (NULL, (const gchar**)args->pdata, NULL, 0, error);
g_ptr_array_free (args, TRUE);
g_free (real_file);