From a4cc25f84d04835a8283176ba4a058b5ac2966e2 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 27 Nov 2010 21:50:49 +0000 Subject: Move main_statusbar.h to the top-level directory; none of its routines use GTK+ data types, so, at least in theory, it could be implemented atop another toolkit. Make statusbar_push_temporary_msg() take a format string and format arguments. Use it instead of simple_status(), and change one call to just take a format string and arguments rather than to take the result of using that format string and arguments with g_strdup_printf() and passing the result to statusbar_push_temporary_msg(). svn path=/trunk/; revision=35041 --- gtk/new_packet_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/new_packet_list.c') diff --git a/gtk/new_packet_list.c b/gtk/new_packet_list.c index 29ac396bb2..1e02768e64 100644 --- a/gtk/new_packet_list.c +++ b/gtk/new_packet_list.c @@ -47,6 +47,7 @@ #include "../ui_util.h" #include "../progress_dlg.h" #include "../simple_dialog.h" +#include "../main_statusbar.h" #include "epan/emem.h" #include "globals.h" #include "gtk/gtkglobals.h" @@ -61,7 +62,6 @@ #include "color_filters.h" #include "gtk/color_utils.h" #include "gtk/capture_file_dlg.h" -#include "gtk/main_statusbar.h" #include "gtk/packet_win.h" #include "gtk/main.h" #include "gtk/prefs_column.h" -- cgit v1.2.1