[gtk+/gtk-3-10] Wayland: avoid accidental export of internal symbols



commit d475906d68ea5f0955146239153513a186cde103
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Oct 15 19:41:26 2013 -0400

    Wayland: avoid accidental export of internal symbols
    
    Some symbols in the generated Wayland code were getting
    decorated with WL_EXPORT, causing them to show up in the
    libgdk exports. We don't want that.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710141

 gdk/wayland/Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/wayland/Makefile.am b/gdk/wayland/Makefile.am
index 6896bff..bc5375c 100644
--- a/gdk/wayland/Makefile.am
+++ b/gdk/wayland/Makefile.am
@@ -50,6 +50,8 @@ libgdkwaylandinclude_HEADERS =                        \
 
 %-protocol.c : $(srcdir)/protocol/%.xml
        $(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
+       $(AM_V_GEN)$(SED) -i -e 's/WL_EXPORT //' $@
+
 %-server-protocol.h : $(srcdir)/protocol/%.xml
        $(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@
 %-client-protocol.h : $(srcdir)/protocol/%.xml


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