projects
/
libsigrok.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
ac070c7
)
Drop obsolete g_match_info_unref() workaround.
author
Uwe Hermann
<redacted>
Sat, 20 Apr 2013 11:43:48 +0000
(13:43 +0200)
committer
Uwe 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
patch
|
blob
|
blame
|
history
diff --git
a/libsigrok-internal.h
b/libsigrok-internal.h
index 0dc7bb0f6b9b2eb64563e7a651dae535e1153e71..6f70c78f226c57cca2e7564e2a1be35e10428862 100644
(file)
--- 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;