From: Uwe Hermann Date: Sat, 20 Apr 2013 11:43:48 +0000 (+0200) Subject: Drop obsolete g_match_info_unref() workaround. X-Git-Tag: dsupstream~94 X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;h=522a34343f78eb55ff7213e34ff3e002867dbad3;hp=ac070c7744471350e38836a58dd565750d96ce7f;p=libsigrok.git Drop obsolete g_match_info_unref() workaround. We hard-depend on glib >= 2.32.0 now anyway, so this is no longer needed. --- diff --git a/libsigrok-internal.h b/libsigrok-internal.h index 0dc7bb0f..6f70c78f 100644 --- a/libsigrok-internal.h +++ b/libsigrok-internal.h @@ -43,11 +43,6 @@ #define ARRAY_AND_SIZE(a) (a), ARRAY_SIZE(a) #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 { #ifdef HAVE_LIBUSB_1_0 libusb_context *libusb_ctx;