[gnome-builder] cpack: handle things like GTK_SOURCE_INTERNAL as prefix



commit 7f4ebbde3fc8f02f0ee395eec37103f4b8d75e7b
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jan 9 11:15:46 2020 -0800

    cpack: handle things like GTK_SOURCE_INTERNAL as prefix

 src/plugins/c-pack/hdr-format.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/c-pack/hdr-format.c b/src/plugins/c-pack/hdr-format.c
index 6ce09ecef..774a2de75 100644
--- a/src/plugins/c-pack/hdr-format.c
+++ b/src/plugins/c-pack/hdr-format.c
@@ -135,6 +135,7 @@ read_attr (const gchar  *str,
 
   if (g_str_has_prefix (word, "G_GNUC_") ||
       strstr (word, "AVAILABLE") ||
+      strstr (word, "INTERNAL") ||
       strcasestr (word, "export"))
     {
       *pos = tmp;


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