aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/sctp_stat_dlg.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2008-04-11 18:58:19 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2008-04-11 18:58:19 +0000
commit93745c1b753a9631f9f263a6f6c291a5eaa94c2b (patch)
tree559b8859f223c1fcc3d893cc9f35626fff7ef55f /gtk/sctp_stat_dlg.c
parent66b910c5f9b36e0dd146d9135777cb3fb75b3d98 (diff)
replace all appearances of BUTTON_NEW_FROM_STOCK with GTK2's gtk_button_new_from_stock
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24904 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/sctp_stat_dlg.c')
-rw-r--r--gtk/sctp_stat_dlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/sctp_stat_dlg.c b/gtk/sctp_stat_dlg.c
index 8526ba24f5..e4f50d050e 100644
--- a/gtk/sctp_stat_dlg.c
+++ b/gtk/sctp_stat_dlg.c
@@ -590,7 +590,7 @@ gtk_sctpstat_dlg(void)
gtk_widget_show (bt_analyse);
gtk_widget_set_sensitive(bt_analyse,FALSE);
- bt_close = BUTTON_NEW_FROM_STOCK(GTK_STOCK_CLOSE);
+ bt_close = gtk_button_new_from_stock(GTK_STOCK_CLOSE);
gtk_container_add (GTK_CONTAINER (hbuttonbox2), bt_close);
GTK_WIDGET_SET_FLAGS(bt_close, GTK_CAN_DEFAULT);
window_set_cancel_button( sctp_stat_dlg_w, bt_close, sctp_stat_on_close);