Ethereal-dev: Re: [Ethereal-dev] clean compilation of prefs_dlg.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Richard Sharpe <sharpe@xxxxxxxxxx>
Date: Sat, 13 Oct 2001 22:14:37 +0930
Applied,

Thanks ...

Motonori Shindo wrote:

Hi,

Here's a patch to make gtk/prefs_dlg.c compile cleanly. Some strict
compiler (e.g. MSVC++) abandons compiling it due to the implicit use
of set_scrollbar_placement_scrollw() and remember_scrolled_window().

Regards,

=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=
+----+----+ |.. .| | Motonori Shindo |_~__| | | .. |~~_~| Sr. Systems Engineer
 | .  |    |     CoSine Communications Inc.
+----+----+ C o S i n e e-mail: mshindo@xxxxxxxxxxxxx Communications
=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=


------------------------------------------------------------------------

Index: gtk/prefs_dlg.c
===================================================================
RCS file: /cvsroot/ethereal/gtk/prefs_dlg.c,v
retrieving revision 1.28
diff -u -r1.28 prefs_dlg.c
--- prefs_dlg.c	2001/10/13 07:56:27	1.28
+++ prefs_dlg.c	2001/10/13 11:10:58
@@ -46,6 +46,7 @@
 #endif
#include "main.h"
+#include "gtkglobals.h"
 #include "packet.h"
 #include "file.h"
 #include "prefs.h"



--
Richard Sharpe, rsharpe@xxxxxxxxxx, LPIC-1
www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba
in 24 Hours, Special Edition, Using Samba