aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/tcp_graph.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-21 03:54:32 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-21 03:54:32 +0000
commitdd48dfa756c15624cc53fbb471d1d87a437ab168 (patch)
tree3f4bdd13b78cad58c80f9ad97a4cea595940f2d9 /gtk/tcp_graph.c
parent744e9b2e4f53a55414bef3c024c6cb24bf082db3 (diff)
use stock buttons whereever possible,
added some ethereal specific stock icons git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9763 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/tcp_graph.c')
-rw-r--r--gtk/tcp_graph.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/gtk/tcp_graph.c b/gtk/tcp_graph.c
index 11f5ae3d80..1d0ad609aa 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.44 2004/01/13 08:25:00 guy Exp $
+ * $Id: tcp_graph.c,v 1.45 2004/01/21 03:54:31 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1037,13 +1037,8 @@ static void callback_create_help(GtkWidget *widget _U_, gpointer data _U_)
gtk_text_buffer_set_text(buf, helptext, -1);
#endif
gtk_container_add (GTK_CONTAINER (scroll), text);
-#if GTK_MAJOR_VERSION < 2
- close = gtk_button_new_with_label ("Close");
- gtk_box_pack_start (GTK_BOX (box), close, FALSE, FALSE, 0);
-#else
- close = gtk_button_new_from_stock(GTK_STOCK_CLOSE);
+ close = BUTTON_NEW_FROM_STOCK(GTK_STOCK_CLOSE);
gtk_box_pack_start (GTK_BOX (box), close, FALSE, FALSE, 0);
-#endif
SIGNAL_CONNECT(close, "clicked", callback_close_help, toplevel);
gtk_widget_show_all (toplevel);