From 0f4d6539fa0280cfa658a27ceaca63c2db0232e4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 14 Jul 2010 22:52:53 -0400 Subject: [PATCH] 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. --- src/vte.h | 2 +- vte.pc.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1