move "extern GtkWidget *main_display_filter_widget" from
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 2 Jun 2004 07:12:11 +0000 (07:12 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 2 Jun 2004 07:12:11 +0000 (07:12 +0000)
various stats files to gtkglobals.h

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11073 f5534014-38df-0310-8fa8-9805f1628bb7

14 files changed:
gtk/dcerpc_stat.c
gtk/endpoint_talkers_table.c
gtk/fc_stat.c
gtk/gtkglobals.h
gtk/h225_counter.c
gtk/h225_ras_srt.c
gtk/hostlist_table.c
gtk/ldap_stat.c
gtk/mgcp_stat.c
gtk/rpc_stat.c
gtk/rtp_stream_dlg.c
gtk/service_response_time_table.c
gtk/smb_stat.c
gtk/tap_dfilter_dlg.c

index c5f4688e7f612fc986dc26c863d4ec500b51de46..918ea20a13ea792332eef4c268f95c03feb4dac3 100644 (file)
@@ -1,7 +1,7 @@
 /* dcerpc_stat.c
  * dcerpc_stat   2002 Ronnie Sahlberg
  *
- * $Id: dcerpc_stat.c,v 1.57 2004/05/27 19:59:48 ulfl Exp $
+ * $Id: dcerpc_stat.c,v 1.58 2004/06/02 07:12:09 ulfl Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
 #include "filter_prefs.h"
 #include "compat_macros.h"
 #include "service_response_time_table.h"
+#include "gtkglobals.h"
 
 
-extern GtkWidget   *main_display_filter_widget;
-
 /* used to keep track of the statistics for an entire program interface */
 typedef struct _rpcstat_t {
        GtkWidget *win;
index 88939989acbd5864b9cd53defad86e01a7cf6d5f..8754954e9ffc28226ba5ae71aff73d9a35de096b 100644 (file)
@@ -4,7 +4,7 @@
  * endpoint_talkers_table   2003 Ronnie Sahlberg
  * Helper routines common to all endpoint talkers tap.
  *
- * $Id: endpoint_talkers_table.c,v 1.43 2004/06/01 21:29:50 guy Exp $
+ * $Id: endpoint_talkers_table.c,v 1.44 2004/06/02 07:12:09 ulfl Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -54,8 +54,6 @@
 #include "ui_util.h"
 #include "dlg_utils.h"
 
-extern GtkWidget   *main_display_filter_widget;
-
 
 #define GTK_MENU_FUNC(a) ((GtkItemFactoryCallback)(a))
 
index 40843acd5e7d9f691bf99fafab070a0c2333bdb4..f27476ea7c098eedd9b03386b823c57fe0bae7c6 100644 (file)
@@ -1,7 +1,7 @@
 /* fc_stat.c
  * fc_stat   2003 Ronnie Sahlberg
  *
- * $Id: fc_stat.c,v 1.33 2004/05/27 19:59:49 ulfl Exp $
+ * $Id: fc_stat.c,v 1.34 2004/06/02 07:12:09 ulfl Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -51,8 +51,8 @@
 #include "../globals.h"
 #include "filter_prefs.h"
 #include "service_response_time_table.h"
+#include "gtkglobals.h"
 
-extern GtkWidget   *main_display_filter_widget;
 
 /* used to keep track of the statistics for an entire program interface */
 typedef struct _fcstat_t {
index f87284a711e98e1d60b248dfc574357191bf4be9..9e1df4ddf74d9ae6fd81d678f57f9be563e3ede9 100644 (file)
@@ -1,7 +1,7 @@
 /* gtkglobals.h
  * GTK-related Global defines, etc.
  *
- * $Id: gtkglobals.h,v 1.25 2004/06/01 17:33:36 ulfl Exp $
+ * $Id: gtkglobals.h,v 1.26 2004/06/02 07:12:10 ulfl Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -41,6 +41,9 @@ extern GtkWidget *tree_view;
 /** byte notebook (packet bytes) pane */
 extern GtkWidget *byte_nb_ptr;
 
+/** the filter text entry in the filter toolbar */
+extern GtkWidget   *main_display_filter_widget;
+
 #if GTK_MAJOR_VERSION < 2
 /** normal font */
 extern GdkFont   *m_r_font;
index 4ccff47c196cbbfd40a6aa0ee792522622f2db49..307f9f9a702cdca3814cd0495c0f2ef41d5a5d3e 100644 (file)
@@ -2,7 +2,7 @@
  * h225 message counter for ethereal
  * Copyright 2003 Lars Roland
  *
- * $Id: h225_counter.c,v 1.21 2004/05/27 19:59:49 ulfl Exp $
+ * $Id: h225_counter.c,v 1.22 2004/06/02 07:12:10 ulfl Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -54,8 +54,6 @@
 #include "ui_util.h"
 
 
-extern GtkWidget *main_display_filter_widget;
-
 static void gtk_h225counter_init(char *optarg);
 
 static tap_dfilter_dlg h225_counter_dlg = {
index 1285b0e99ecda10bdec0494e4aa9c4f10424a1f2..3344d67a069787670540969d25f67391faa3be24 100644 (file)
@@ -2,7 +2,7 @@
  * h225 RAS Service Response Time statistics for ethereal
  * Copyright 2003 Lars Roland
  *
- * $Id: h225_ras_srt.c,v 1.18 2004/05/27 19:59:49 ulfl Exp $
+ * $Id: h225_ras_srt.c,v 1.19 2004/06/02 07:12:10 ulfl Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -55,8 +55,6 @@
 #include "ui_util.h"
 
 
-extern GtkWidget *main_display_filter_widget;
-
 static void gtk_h225rassrt_init(char *optarg);
 
 static tap_dfilter_dlg h225_rassrt_dlg = {
index 9ed05534add9b6f2085ba2521c17f0bb11bc7290..13af4ace3f1e190def803049dfaee378740df776 100644 (file)
@@ -2,7 +2,7 @@
  * modified from endpoint_talkers_table.c   2003 Ronnie Sahlberg
  * Helper routines common to all host list taps.
  *
- * $Id: hostlist_table.c,v 1.15 2004/06/01 23:00:24 guy Exp $
+ * $Id: hostlist_table.c,v 1.16 2004/06/02 07:12:10 ulfl Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -50,8 +50,6 @@
 #include "ui_util.h"
 #include "dlg_utils.h"
 
-extern GtkWidget   *main_display_filter_widget;
-
 
 #define GTK_MENU_FUNC(a) ((GtkItemFactoryCallback)(a))
 
index 73db9e1d8e4fd30689f152eec8ae4158f7521fa0..b4a1ddc44e640f600bf705074affa2d81f02a820 100644 (file)
@@ -1,7 +1,7 @@
 /* ldap_stat.c
  * ldap_stat   2003 Ronnie Sahlberg
  *
- * $Id: ldap_stat.c,v 1.21 2004/05/27 19:59:49 ulfl Exp $
+ * $Id: ldap_stat.c,v 1.22 2004/06/02 07:12:10 ulfl Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -51,8 +51,8 @@
 #include "../globals.h"
 #include "filter_prefs.h"
 #include "service_response_time_table.h"
+#include "gtkglobals.h"
 
-extern GtkWidget   *main_display_filter_widget;
 
 /* used to keep track of the statistics for an entire program interface */
 typedef struct _ldapstat_t {
index 7d97f796d9568eee32e66476453be78727f66936..e84427b15edd61ba3ad689153087b243d271b70f 100644 (file)
@@ -2,7 +2,7 @@
  * mgcp-statistics for ethereal
  * Copyright 2003 Lars Roland
  *
- * $Id: mgcp_stat.c,v 1.36 2004/05/27 19:59:49 ulfl Exp $
+ * $Id: mgcp_stat.c,v 1.37 2004/06/02 07:12:10 ulfl Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -55,8 +55,6 @@
 #include "ui_util.h"
 
 
-extern GtkWidget *main_display_filter_widget;
-
 #define NUM_TIMESTATS 10
 
 /* used to keep track of the statistics for an entire program interface */
index 92f4de9208708a784b598c60bbb8b11a7d523ccc..1c1a5b08cbfbb07f2d175940409b6232de54f652 100644 (file)
@@ -1,7 +1,7 @@
 /* rpc_stat.c
  * rpc_stat   2002 Ronnie Sahlberg
  *
- * $Id: rpc_stat.c,v 1.47 2004/05/27 19:59:50 ulfl Exp $
+ * $Id: rpc_stat.c,v 1.48 2004/06/02 07:12:10 ulfl Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -48,8 +48,8 @@
 #include "filter_prefs.h"
 #include "compat_macros.h"
 #include "service_response_time_table.h"
+#include "gtkglobals.h"
 
-extern GtkWidget   *main_display_filter_widget;
 
 /* used to keep track of the statistics for an entire program interface */
 typedef struct _rpcstat_t {
index 21f309c8c426473125e42655230e4656dda8556b..5212078d5a30b37d0e406c73ac1b9710f517c1e3 100644 (file)
@@ -1,7 +1,7 @@
 /* rtp_stream_dlg.c
  * RTP streams summary addition for ethereal
  *
- * $Id: rtp_stream_dlg.c,v 1.24 2004/06/02 07:01:04 guy Exp $
+ * $Id: rtp_stream_dlg.c,v 1.25 2004/06/02 07:12:10 ulfl Exp $
  *
  * Copyright 2003, Alcatel Business Systems
  * By Lars Ruoff <lars.ruoff@gmx.net>
@@ -39,8 +39,8 @@
 #include "tap_menu.h"
 #include "dlg_utils.h"
 #include "ui_util.h"
-#include "main.h"
 #include "compat_macros.h"
+#include "gtkglobals.h"
 
 #include "image/clist_ascend.xpm"
 #include "image/clist_descend.xpm"
@@ -49,7 +49,6 @@
 
 #include <string.h>
 
-extern GtkWidget *main_display_filter_widget;
 
 typedef const guint8 * ip_addr_p;
 
index 06d6a5b5bd42338f5e75f6ed5bbd303c4df2a645..8e1da8ceb0421ea65c310638e90cacab61753223 100644 (file)
@@ -3,7 +3,7 @@
  * Helper routines common to all service response time statistics
  * tap.
  *
- * $Id: service_response_time_table.c,v 1.18 2004/05/07 12:15:24 ulfl Exp $
+ * $Id: service_response_time_table.c,v 1.19 2004/06/02 07:12:11 ulfl Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -45,8 +45,9 @@
 #include "gtk/color_dlg.h"
 #include "main.h"
 #include "ui_util.h"
+#include "gtkglobals.h"
+
 
-extern GtkWidget   *main_display_filter_widget;
 #define GTK_MENU_FUNC(a) ((GtkItemFactoryCallback)(a))
 
 
index f9395b9081951564988d12285eea8b40458e7512..06ddd5d426b3ac529a01ab80263d7be96b8828cb 100644 (file)
@@ -1,7 +1,7 @@
 /* smb_stat.c
  * smb_stat   2003 Ronnie Sahlberg
  *
- * $Id: smb_stat.c,v 1.44 2004/05/27 19:59:50 ulfl Exp $
+ * $Id: smb_stat.c,v 1.45 2004/06/02 07:12:11 ulfl Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -51,8 +51,8 @@
 #include "../globals.h"
 #include "filter_prefs.h"
 #include "service_response_time_table.h"
+#include "gtkglobals.h"
 
-extern GtkWidget   *main_display_filter_widget;
 
 /* used to keep track of the statistics for an entire program interface */
 typedef struct _smbstat_t {
index 47f6156c6ea98fe6aa1cac70fd063f1d0d00ab18..06f770b8f5a68c437ab749ad1951d3caf3544314 100644 (file)
@@ -2,7 +2,7 @@
  * Routines for display filter dialog used by gui taps
  * Copyright 2003 Lars Roland
  *
- * $Id: tap_dfilter_dlg.c,v 1.9 2004/05/27 19:59:50 ulfl Exp $
+ * $Id: tap_dfilter_dlg.c,v 1.10 2004/06/02 07:12:11 ulfl Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -45,8 +45,8 @@
 #include "../tap_dfilter_dlg.h"
 #include "tap_dfilter_dlg.h"
 #include "ui_util.h"
+#include "gtkglobals.h"
 
-extern GtkWidget *main_display_filter_widget;
 
 typedef struct _tap_dfilter_dlg_list_item {
        GtkWidget *dlg;