aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/sctp_stat_dlg.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2008-04-11 18:58:19 +0000
committerUlf Lamping <ulf.lamping@web.de>2008-04-11 18:58:19 +0000
commitae5f841083842eae3a4a7c9ea9a35a233721d5c0 (patch)
tree559b8859f223c1fcc3d893cc9f35626fff7ef55f /gtk/sctp_stat_dlg.c
parent3c6c0cf22058195193d4f762477efe32a5cf3b3b (diff)
replace all appearances of BUTTON_NEW_FROM_STOCK with GTK2's gtk_button_new_from_stock
svn path=/trunk/; revision=24904
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);