diff options
| author | dmitry.zhulanov@gmail.com <> | 2017-06-04 14:21:43 +0000 |
|---|---|---|
| committer | dmitry.zhulanov@gmail.com <> | 2017-06-04 14:21:43 +0000 |
| commit | 16e2b8d276eec85a7fc138e66f438caf6acf0929 (patch) | |
| tree | 619b17b2a26a50f56a5c93998d01470e51a65822 /src/main-cmdlinexact.cpp | |
| parent | minor fixes (diff) | |
| download | inkscape-16e2b8d276eec85a7fc138e66f438caf6acf0929.tar.gz inkscape-16e2b8d276eec85a7fc138e66f438caf6acf0929.zip | |
replace fopen with g_fopen
Fixed bugs:
- https://launchpad.net/bugs/1695629
(bzr r15700.1.7)
Diffstat (limited to 'src/main-cmdlinexact.cpp')
| -rw-r--r-- | src/main-cmdlinexact.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main-cmdlinexact.cpp b/src/main-cmdlinexact.cpp index 4da138f0c..eca402ab3 100644 --- a/src/main-cmdlinexact.cpp +++ b/src/main-cmdlinexact.cpp @@ -29,6 +29,7 @@ #include "extension/system.h" #include "file.h" #include <glib.h> +#include <glib/gstdio.h> #include "sp-root.h" #include "document-undo.h" #include "util/units.h" @@ -317,7 +318,7 @@ parseVerbsYAMLFile(gchar const *yaml_filename) { verbs_list_t verbs_list; - FILE *fh = fopen(yaml_filename, "r"); + FILE *fh = g_fopen(yaml_filename, "r"); if(fh == NULL) { printf("Failed to read from file %s\n", yaml_filename); fflush(stdout); |
