[devhelp] 2009-08-12 Lucas Rocha <lucasr gnome org>



commit 6e5d15c9b2b38cf67f8ee97407de35512adef9d8
Author: Lucas Rocha <lucasr gnome org>
Date:   Wed Aug 12 22:23:34 2009 +0100

    2009-08-12  Lucas Rocha  <lucasr gnome org>
    
    	* src/dh-assistant-view.c: Patch from Matthew Barnes to
    	fix bug #588655, Work around deprecated g_mapped_file_free().

 ChangeLog               |    5 +++++
 src/dh-assistant-view.c |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0dbfb1d..4b56b00 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-12  Lucas Rocha  <lucasr gnome org>
+
+	* src/dh-assistant-view.c: Patch from Matthew Barnes to
+	fix bug #588655, Work around deprecated g_mapped_file_free().
+
 2009-02-19  Richard Hult  <richard imendio com>
 
 	* src/dh-window.c: (dh_window_init): Patch from Luca Ferretti to
diff --git a/src/dh-assistant-view.c b/src/dh-assistant-view.c
index c8bab6c..abe195b 100644
--- a/src/dh-assistant-view.c
+++ b/src/dh-assistant-view.c
@@ -344,7 +344,12 @@ assistant_view_set_link (DhAssistantView *view,
                 webkit_web_view_open (WEBKIT_WEB_VIEW (view), "about:blank");
         }
 
+#if GLIB_CHECK_VERSION(2,21,3)
+        g_mapped_file_unref (file);
+#else
         g_mapped_file_free (file);
+#endif
+
         g_free (filename);
 }
 



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