summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
Diffstat (limited to 'pango')
-rw-r--r--pango/fonts.c2
-rw-r--r--pango/pango-utils.c10
2 files changed, 5 insertions, 7 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index 5f9bbb01..e259f8c7 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -1298,7 +1298,7 @@ parse_variations (const char *word,
*
* "Cantarell Italic Light 15 \@wght=200"
*
- * Returns: (transfer full) a new `PangoFontDescription`.
+ * Returns: (transfer full): a new `PangoFontDescription`.
*/
PangoFontDescription *
pango_font_description_from_string (const char *str)
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index ce294230..7c85b0aa 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -34,14 +34,12 @@
#include <glib/gstdio.h>
-#ifndef HAVE_FLOCKFILE
-# define flockfile(f) (void)1
-# define funlockfile(f) (void)1
-# define getc_unlocked(f) getc(f)
-#endif /* !HAVE_FLOCKFILE */
-
#ifdef G_OS_WIN32
+#define flockfile(f) (void)1
+#define funlockfile(f) (void)1
+#define getc_unlocked(f) getc(f)
+
#include <sys/types.h>
#define STRICT