Merge branch 'backport-1265-visibility-checks-glib-2-62' into 'glib-2-62'

Backport !1265 “build: don't check for protected visibility” to glib-2-62

See merge request GNOME/glib!1266
diff --git a/meson.build b/meson.build
index 4bbf4c2..df5b770 100644
--- a/meson.build
+++ b/meson.build
@@ -142,11 +142,6 @@
   {
   }
   void
-  __attribute__ ((visibility ("protected")))
-       f_protected (void)
-  {
-  }
-  void
   __attribute__ ((visibility ("default")))
        f_default (void)
   {
@@ -155,7 +150,6 @@
   {
     f_hidden();
     f_internal();
-    f_protected();
     f_default();
     return 0;
   }