[vte] Seal VTE when VTE_SEAL_ENABLE is given, not GSEAL_ENABLE
- From: Kristian Høgsberg <krh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] Seal VTE when VTE_SEAL_ENABLE is given, not GSEAL_ENABLE
- Date: Thu, 15 Jul 2010 13:59:44 +0000 (UTC)
commit 0f4d6539fa0280cfa658a27ceaca63c2db0232e4
Author: Kristian Høgsberg <krh bitplanet net>
Date: Wed Jul 14 22:52:53 2010 -0400
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 9b32459..b41a585 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 6466143..da45192 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]