aboutsummaryrefslogtreecommitdiffstats
path: root/doc/README.developer
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-07-11 20:32:19 +0000
committerGerald Combs <gerald@wireshark.org>2011-07-11 20:32:19 +0000
commit49b92440deaabb43114479e5b0e6af2c481ca8ac (patch)
tree011c39768a3be7d7d1f63d9d48d1b6e96383fdf0 /doc/README.developer
parent1f923105f8a5c2c7bf82f1187984600ba14ef993 (diff)
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
Diffstat (limited to 'doc/README.developer')
-rw-r--r--doc/README.developer9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/README.developer b/doc/README.developer
index df4a3c2d57..5357332bb5 100644
--- a/doc/README.developer
+++ b/doc/README.developer
@@ -434,10 +434,11 @@ cause a trap, which will, at best, result in the OS slowly performing an
unaligned access for you, and will, on at least some platforms, cause
the program to be terminated.
-Wireshark supports platforms with GLib 2.4[.x]/GTK+ 2.4[.x] or newer.
-If a Glib/GTK+ mechanism is available only in Glib/GTK+ versions
-newer than 2.4/2.4 then use "#if GTK_CHECK_VERSION(...)" to conditionally
-compile code using that mechanism.
+Wireshark supports platforms with GLib 2.14[.x]/GTK+ 2.12[.x] or newer.
+If a Glib/GTK+ mechanism is available only in Glib/GTK+ versions newer
+than 2.14/2.12 then use "#if GLIB_CHECK_VERSION(...)" or "#if
+GTK_CHECK_VERSION(...)" to conditionally compile code using that
+mechanism.
When different code must be used on UN*X and Win32, use a #if or #ifdef
that tests _WIN32, not WIN32. Try to write code portably whenever