diff options
Diffstat (limited to 'gtk/http_stat.c')
-rw-r--r-- | gtk/http_stat.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gtk/http_stat.c b/gtk/http_stat.c index aeee82e5a2..3fe78e75a8 100644 --- a/gtk/http_stat.c +++ b/gtk/http_stat.c @@ -1,7 +1,7 @@ /* http_stat.c * http_stat 2003 Jean-Michel FAYARD * - * $Id: http_stat.c,v 1.19 2004/02/11 04:28:48 guy Exp $ + * $Id: http_stat.c,v 1.20 2004/02/13 00:53:35 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -26,13 +26,16 @@ # include "config.h" #endif -#include <gtk/gtk.h> #include <string.h> -#include "epan/packet_info.h" -#include "epan/epan.h" +#include <gtk/gtk.h> + +#include <epan/packet_info.h> +#include <epan/epan.h> + #include "tap_menu.h" #include "simple_dialog.h" +#include "ui_util.h" #include "dlg_utils.h" #include "tap.h" #include "../register.h" @@ -395,8 +398,7 @@ gtk_httpstat_init(char *optarg) } /* top level window */ - sp->win = gtk_window_new( GTK_WINDOW_TOPLEVEL); - gtk_window_set_title( GTK_WINDOW(sp->win), title ); + sp->win = window_new( GTK_WINDOW_TOPLEVEL, title); g_free(title); SIGNAL_CONNECT( sp->win, "destroy", win_destroy_cb, sp); |