From: Kristian Høgsberg Date: Thu, 15 Jul 2010 02:52:53 +0000 (-0400) Subject: Seal VTE when VTE_SEAL_ENABLE is given, not GSEAL_ENABLE X-Git-Tag: 0.25.90~28 X-Git-Url: http://git.nomeata.de/?p=vte.git;a=commitdiff_plain;h=0f4d6539fa0280cfa658a27ceaca63c2db0232e4 Seal VTE when VTE_SEAL_ENABLE is given, not GSEAL_ENABLE gtk+ 3.0 defines GSEAL_ENABLE, which seals up VTE for the vte code as well. Instead, seal of VTE when VTE_SEAL_ENABLE is defined and set it in the .pc file. --- diff --git a/src/vte.h b/src/vte.h index 9b324592..b41a585e 100644 --- a/src/vte.h +++ b/src/vte.h @@ -34,7 +34,7 @@ G_BEGIN_DECLS -#ifdef GSEAL_ENABLE +#ifdef VTE_SEAL_ENABLE #define _VTE_SEAL(name) _vte_sealed__ ## name #else #define _VTE_SEAL(name) name diff --git a/vte.pc.in b/vte.pc.in index 64661436..da451926 100644 --- a/vte.pc.in +++ b/vte.pc.in @@ -10,4 +10,4 @@ Description: Vte terminal widget. Version: @VERSION@ Requires: @VTE_PKGS@ Libs: -L${libdir} -lvte@VTE_LIBRARY_SUFFIX_U@ -Cflags: -I${includedir}/vte-@VTE_API_VERSION@ +Cflags: -I${includedir}/vte-@VTE_API_VERSION@ -DVTE_SEAL_ENABLE