Drop obsolete g_match_info_unref() workaround.
We hard-depend on glib >= 2.32.0 now anyway, so this is no longer needed.
This commit is contained in:
parent
ac070c7744
commit
522a34343f
|
@ -43,11 +43,6 @@
|
||||||
#define ARRAY_AND_SIZE(a) (a), ARRAY_SIZE(a)
|
#define ARRAY_AND_SIZE(a) (a), ARRAY_SIZE(a)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Versions < 2.30.0 of glib don't have g_match_info_unref(). */
|
|
||||||
#if !GLIB_CHECK_VERSION(2,30,0)
|
|
||||||
#define g_match_info_unref g_match_info_free
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct sr_context {
|
struct sr_context {
|
||||||
#ifdef HAVE_LIBUSB_1_0
|
#ifdef HAVE_LIBUSB_1_0
|
||||||
libusb_context *libusb_ctx;
|
libusb_context *libusb_ctx;
|
||||||
|
|
Loading…
Reference in New Issue