From 49b92440deaabb43114479e5b0e6af2c481ca8ac Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Mon, 11 Jul 2011 20:32:19 +0000 Subject: More GLIB_CHECK_VERSION cleanups. Update the minimum GLib/GTK+ versions in README.devloper. Remove g_gnuc.h since it's no longer needed. Remove tvbuff_init(), tvbuff_cleanup(), reassemble_init(), and reassemble_cleanup() since they were only used for older GLib versions which didn't support GSlices. Assume we always support the "matches" operator. svn path=/trunk/; revision=37978 --- epan/tvbtest.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'epan/tvbtest.c') diff --git a/epan/tvbtest.c b/epan/tvbtest.c index ae3aa8aea8..0a7c40eb7c 100644 --- a/epan/tvbtest.c +++ b/epan/tvbtest.c @@ -274,7 +274,7 @@ run_tests(void) tvbuff_t *tvb_comp[6]; guint comp_length[6]; int len; - + for (i = 0; i < 3; i++) { small[i] = g_new(guint8, 16); @@ -340,7 +340,7 @@ run_tests(void) /* Composite tvbuffs don't work at the moment -- tests commented out until * they do. */ - + /* One Real */ printf("Making Composite 0\n"); tvb_comp[0] = tvb_new_composite(); @@ -427,9 +427,7 @@ int main(void) { except_init(); - tvbuff_init(); run_tests(); - tvbuff_cleanup(); except_deinit(); exit(failed?1:0); } -- cgit v1.2.1