aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-12-10 20:34:52 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-12-10 20:34:52 +0000
commit156abcce612e4f862809d9e53725c7f31c5bd17a (patch)
treeb9a489ddcd032060e58bea7057e76540caabb262 /gtk
parentfcda4ee579b6d4e04fb132926ae466b771f75fce (diff)
Change a printf() error message to a simple_dialog() error message.
svn path=/trunk/; revision=4377
Diffstat (limited to 'gtk')
-rw-r--r--gtk/tcp_graph.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/tcp_graph.c b/gtk/tcp_graph.c
index 1f4e338a04..70886e22a8 100644
--- a/gtk/tcp_graph.c
+++ b/gtk/tcp_graph.c
@@ -3,7 +3,7 @@
* By Pavel Mores <pvl@uh.cz>
* Win32 port: rwh@unifiedtech.com
*
- * $Id: tcp_graph.c,v 1.3 2001/12/09 01:20:14 guy Exp $
+ * $Id: tcp_graph.c,v 1.4 2001/12/10 20:34:52 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -47,6 +47,7 @@
#include "prefs_dlg.h" /* prefs */
#include "gtkglobals.h" /* set_scrollbar_placement_srollw() and
* remember_scrolled_window() */
+#include "simple_dialog.h"
#include "tcp_graph.h"
/* from <net/ethernet.h> */
@@ -577,7 +578,8 @@ void tcp_graph_cb (GtkWidget *w, gpointer data, guint graph_type)
/* currently selected packet is neither TCP over IP over Ethernet II/PPP
* nor TCP over IP alone - should display some
* kind of warning dialog */
- printf ("packet selected is not a TCP segment\n");
+ simple_dialog(ESD_TYPE_WARN, NULL,
+ "Selected packet is not a TCP segment");
return;
}