Change-Id: I11d2a944fbde6040700c21ac4bfe8caf41eb5472
INCLUDE(FindPkgConfig)
+pkg_check_modules(GLIB glib-2.0 REQUIRED)
+if(PKG_CONFIG_FOUND AND ${GLIB_VERSION} VERSION_GREATER 2.76.0)
+ message(STATUS "Glib version is greater than 2.76.0. ${GLIB_VERSION}")
+else()
+ message(STATUS "Using GLib version ${GLIB_VERSION}")
+ ADD_DEFINITIONS("-D_USE_G_STRING_FREE")
+endif()
+
+
pkg_check_modules(subpkgs REQUIRED
xdgmime
vconf
} while (TRUE);
char *result = encoded_url->str;
+#ifdef _USE_G_STRING_FREE
g_string_free(encoded_url, FALSE);
+#else
+ g_string_free_and_steal(encoded_url);
+#endif
DA_LOGI("encoded url[%s]", result);
Name: download-provider
Summary: Download the contents in background
-Version: 2.3.12
+Version: 2.3.13
Release: 0
Group: Development/Libraries
License: Apache-2.0