aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/mcast_stream_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/mcast_stream_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/mcast_stream_dlg.c')
-rw-r--r--gtk/mcast_stream_dlg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/mcast_stream_dlg.c b/gtk/mcast_stream_dlg.c
index c4773c8680..245066cdc1 100644
--- a/gtk/mcast_stream_dlg.c
+++ b/gtk/mcast_stream_dlg.c
@@ -456,9 +456,9 @@ mcast_on_params (GtkButton *button _U_,
/* button row */
hbuttonbox = gtk_hbutton_box_new ();
gtk_table_attach_defaults(GTK_TABLE(table), hbuttonbox, 0, 2, 5, 6);
- ok_bt = BUTTON_NEW_FROM_STOCK(GTK_STOCK_OK);
+ ok_bt = gtk_button_new_from_stock(GTK_STOCK_OK);
gtk_container_add (GTK_CONTAINER (hbuttonbox), ok_bt);
- cancel_bt = BUTTON_NEW_FROM_STOCK(GTK_STOCK_CANCEL);
+ cancel_bt = gtk_button_new_from_stock(GTK_STOCK_CANCEL);
gtk_container_add (GTK_CONTAINER (hbuttonbox), cancel_bt);
GTK_WIDGET_SET_FLAGS(cancel_bt, GTK_CAN_DEFAULT);
gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox), GTK_BUTTONBOX_END);
@@ -596,7 +596,7 @@ static void mcaststream_dlg_create (void)
gtk_container_add (GTK_CONTAINER (hbuttonbox), bt_filter);
gtk_tooltips_set_tip (tooltips, bt_filter, "Prepare a display filter of the selected stream", NULL);
- bt_close = BUTTON_NEW_FROM_STOCK(GTK_STOCK_CLOSE);
+ bt_close = gtk_button_new_from_stock(GTK_STOCK_CLOSE);
gtk_container_add (GTK_CONTAINER (hbuttonbox), bt_close);
gtk_tooltips_set_tip (tooltips, bt_close, "Close this dialog", NULL);
GTK_WIDGET_SET_FLAGS(bt_close, GTK_CAN_DEFAULT);