[devhelp] AssistantView: remove #if GLIB_CHECK_VERSION



commit a8fbf4eca8c1c06c856a01956bb415a09b7fa162
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Mon May 1 12:37:23 2017 +0200

    AssistantView: remove #if GLIB_CHECK_VERSION
    
    In configure.ac, Devhelp depends on GLib >= 2.38.
    
    This was the only place in the Devhelp codebase where there was a
    CHECK_VERSION.

 src/dh-assistant-view.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/dh-assistant-view.c b/src/dh-assistant-view.c
index b6ee1e7..64dfe6e 100644
--- a/src/dh-assistant-view.c
+++ b/src/dh-assistant-view.c
@@ -424,12 +424,7 @@ dh_assistant_view_set_link (DhAssistantView *view,
                 webkit_web_view_load_uri (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);
 
         return TRUE;


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