Commit be4cad03 authored by Slava Monich's avatar Slava Monich

Merge branch 'glib-2.56' into 'master'

Compatibility with glib 2.56

See merge request !3
parents 553ec459 a4a11d4b
This diff is collapsed.
/*
* Copyright (C) 2015-2017 Jolla Ltd.
* Copyright (C) 2015-2018 Jolla Ltd.
* Contact: Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
......@@ -40,6 +40,16 @@
#define GSUPPLICANT_SERVICE "fi.w1.wpa_supplicant1"
#define GSUPPLICANT_PATH "/fi/w1/wpa_supplicant1"
/*
* If the stubs are generated by gdbus-codegen < 2.56 then strv getters
* return shallow copy, i.e. the return result should be released with
* g_free(), but the individual strings must not be modified. Luckily,
* this can be determined at compile time.
*
* See https://bugzilla.gnome.org/show_bug.cgi?id=770335
*/
#define STRV_GETTERS_RETURN_SHALLOW_COPY !GLIB_CHECK_VERSION(2,56,0)
#endif /* GSUPPLICANT_DBUS_H */
/*
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment