From f441b8941eee0a6878500e95557d136f4c63e9a4 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 24 Jun 2008 03:38:15 +0000 Subject: Add gtk/capture_globals.h, to declare global_capture_opts, so files that don't need global_capture_opts don't need to have it declared and thus don't need capture_options defined. Include gtk/capture_globals in the files in question. Change some more capture_opts references to refer to global_capture_opts. Change some global_capture_opts references in routines with a capture_opts argument to refer to capture_opts. The structure type is capture_options, not capture_opts; fix some references. Include , if it's present, in capture_opts.h, so we get gid_t defined. Clean up indentation. svn path=/trunk/; revision=25574 --- gtk/capture_info_dlg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/capture_info_dlg.c') diff --git a/gtk/capture_info_dlg.c b/gtk/capture_info_dlg.c index 68e7958542..5a47567a53 100644 --- a/gtk/capture_info_dlg.c +++ b/gtk/capture_info_dlg.c @@ -91,7 +91,7 @@ pct(gint num, gint denom) { static gboolean capture_info_delete_cb(GtkWidget *w _U_, GdkEvent *event _U_, gpointer data) { - capture_opts *capture_opts = data; + capture_options *capture_opts = data; #ifdef HAVE_AIRPCAP airpcap_set_toolbar_stop_capture(airpcap_if_active); #endif @@ -119,7 +119,7 @@ capture_info_ui_update_cb(gpointer data) /* will keep pointers to the fields in the counts parameter */ void capture_info_ui_create( capture_info *cinfo, -capture_opts *capture_opts) +capture_options *capture_opts) { unsigned int i; GtkWidget *main_vb, *stop_bt, *counts_tb; -- cgit v1.2.3