From 2e398bcb6e574cde505d1bfd526c7f806cabdb27 Mon Sep 17 00:00:00 2001 From: Stephen Fisher Date: Sat, 4 Aug 2007 17:52:38 +0000 Subject: Change the export object/export object http code to only be included in the code for GTK versions 2.4 and up instead of 2 and up. svn path=/trunk/; revision=22455 --- gtk/export_object.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gtk/export_object.c') diff --git a/gtk/export_object.c b/gtk/export_object.c index 0168f49866..e96c6a9956 100644 --- a/gtk/export_object.c +++ b/gtk/export_object.c @@ -31,8 +31,9 @@ #include #include -/* This feature has not been ported to GTK1 */ -#if GTK_MAJOR_VERSION >= 2 +/* This feature has not been ported to GTK1 and uses some functions only + * only available in GTK 2.4 and above. */ +#if GTK_CHECK_VERSION(2,4,0) #include #include @@ -424,4 +425,4 @@ export_object_window(const gchar *tapname, const gchar *name, tap_packet_cb tap_ cf_retap_packets(&cfile, FALSE); } -#endif /* GTK_MAJOR_VERSION >= 2 */ +#endif /* GTK_CHECK_VERSION(2,4,0) */ -- cgit v1.2.3