[vte] Bug 603733 - Remove deprecated Glib symbol



commit fa070a0ebdfab5e33e550e4561179498752a29c6
Author: Behdad Esfahbod <behdad behdad org>
Date:   Wed Dec 9 00:57:01 2009 -0500

    Bug 603733 - Remove deprecated Glib symbol
    
    Require glib >= 2.22.0

 configure.in |    2 +-
 src/vtetc.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index 3b6aa30..abba5af 100644
--- a/configure.in
+++ b/configure.in
@@ -253,7 +253,7 @@ case $host in
 	;;
 esac
 
-GLIB_REQUIRED=2.18.0
+GLIB_REQUIRED=2.22.0
 PANGO_REQUIRED=1.22.0
 GTK_REQUIRED=2.14.0
 AC_DEFINE(GDK_MULTIHEAD_SAFE,1,[Force use of GDK's multihead-safe APIs.])
diff --git a/src/vtetc.c b/src/vtetc.c
index df0b527..88e814c 100644
--- a/src/vtetc.c
+++ b/src/vtetc.c
@@ -498,7 +498,7 @@ _vte_termcap_destroy (VteTermcap *termcap)
   if (!termcap)
     return;
   g_tree_destroy (termcap->tree);
-  g_mapped_file_free (termcap->file);
+  g_mapped_file_unref (termcap->file);
   g_slice_free (VteTermcap, termcap);
 }
 



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