Ethereal-dev: [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: Motonori Shindo <mshindo@xxxxxxxxxxx>
Date: Sat, 13 Oct 2001 19:40:33 +0900 (JST)
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"