]> sigrok.org Git - libsigrok.git/commitdiff
Drop obsolete g_match_info_unref() workaround.
authorUwe Hermann <redacted>
Sat, 20 Apr 2013 11:43:48 +0000 (13:43 +0200)
committerUwe Hermann <redacted>
Sat, 20 Apr 2013 11:43:48 +0000 (13:43 +0200)
We hard-depend on glib >= 2.32.0 now anyway, so this is no longer needed.

libsigrok-internal.h

index 0dc7bb0f6b9b2eb64563e7a651dae535e1153e71..6f70c78f226c57cca2e7564e2a1be35e10428862 100644 (file)
 #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;