[gdm] Remove deprecated Glib function: g_mapped_file_free()



commit 2c52b8c293f6b4891c45fc7c584d262a58b3c9ff
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Dec 21 01:38:09 2009 +0100

    Remove deprecated Glib function: g_mapped_file_free()
    
    Use g_mapped_file_unref() instead.
    Also, the new Glib required version is 2.22.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=605099

 configure.ac                       |    2 +-
 gui/simple-greeter/gdm-languages.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index dfb5398..987f3a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,7 @@ dnl - Dependencies
 dnl ---------------------------------------------------------------------------
 
 DBUS_GLIB_REQUIRED_VERSION=0.74
-GLIB_REQUIRED_VERSION=2.15.4
+GLIB_REQUIRED_VERSION=2.22.0
 GTK_REQUIRED_VERSION=2.10.0
 PANGO_REQUIRED_VERSION=1.3.0
 LIBGLADE_REQUIRED_VERSION=1.99.2
diff --git a/gui/simple-greeter/gdm-languages.c b/gui/simple-greeter/gdm-languages.c
index 8f898f1..fe647c9 100644
--- a/gui/simple-greeter/gdm-languages.c
+++ b/gui/simple-greeter/gdm-languages.c
@@ -460,7 +460,7 @@ collect_locales_from_archive (void)
         locales_collected = TRUE;
  out:
 
-        g_mapped_file_free (mapped);
+        g_mapped_file_unref (mapped);
         return locales_collected;
 }
 



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