[vte] widget: Remove now unused seal macros



commit 539dc0db756c2b68486ddf5d47230bb0ffe5d7d0
Author: Christian Persch <chpe gnome org>
Date:   Mon May 2 22:50:21 2011 +0200

    widget: Remove now unused seal macros
    
    Conflicts:
        src/vte.h

 configure.ac |    2 --
 src/vte.h    |   12 ------------
 vte.pc.in    |    2 +-
 3 files changed, 1 insertions(+), 15 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9b5e3e3..2644c2f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,6 @@ AC_SUBST([LT_VERSION_INFO])
 VTE_API_MAJOR_VERSION=2
 VTE_API_MINOR_VERSION=91
 VTE_API_VERSION=$VTE_API_MAJOR_VERSION.$VTE_API_MINOR_VERSION
-VTE_SEAL_CFLAGS="-DVTE_SEAL_ENABLE"
 GTK_API_VERSION=3.0
 GTK_REQUIRED=3.2.0
 GLADE_API_VERSION=2.0
@@ -49,7 +48,6 @@ AC_SUBST([VTE_API_VERSION])
 AC_SUBST([VTE_API_VERSION_U],[AS_TR_SH([$VTE_API_VERSION])])
 AC_SUBST([VTE_API_MAJOR_VERSION])
 AC_SUBST([VTE_API_MINOR_VERSION])
-AC_SUBST([VTE_SEAL_CFLAGS])
 AC_SUBST([GTK_API_VERSION])
 
 ################################################################################
diff --git a/src/vte.h b/src/vte.h
index c7a1cdd..e9b0ee1 100644
--- a/src/vte.h
+++ b/src/vte.h
@@ -34,12 +34,6 @@
 
 G_BEGIN_DECLS
 
-#ifdef VTE_SEAL_ENABLE
-#define _VTE_SEAL(name) _vte_sealed__ ## name
-#else
-#define _VTE_SEAL(name) name
-#endif
-
 #define VTE_TYPE_TERMINAL            (vte_terminal_get_type())
 #define VTE_TERMINAL(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), VTE_TYPE_TERMINAL, VteTerminal))
 #define VTE_TERMINAL_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass),  VTE_TYPE_TERMINAL, 
VteTerminalClass))
@@ -55,14 +49,10 @@ typedef struct _VteCharAttributes       VteCharAttributes;
 
 /**
  * VteTerminal:
- *
- * All of these fields should be considered read-only and deprecated.
  */
 struct _VteTerminal {
        GtkWidget widget;
         /*< private >*/
-
-       /*< private >*/
        VteTerminalPrivate *pvt;
 };
 
@@ -438,8 +428,6 @@ gboolean vte_terminal_write_contents (VteTerminal *terminal,
                                      GCancellable *cancellable,
                                      GError **error);
 
-#undef _VTE_SEAL
-
 G_END_DECLS
 
 #ifndef VTE_DISABLE_DEPRECATED
diff --git a/vte.pc.in b/vte.pc.in
index 2f40191..7dd5559 100644
--- a/vte.pc.in
+++ b/vte.pc.in
@@ -8,4 +8,4 @@ Description: Vte terminal widget.
 Version: @VERSION@
 Requires: @VTE_PKGS@
 Libs: -L${libdir} -lvte- VTE_API_VERSION@
-Cflags: -I${includedir}/vte- VTE_API_VERSION@ @VTE_SEAL_CFLAGS@
+Cflags: -I${includedir}/vte- VTE_API_VERSION@


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