diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-04-11 18:58:19 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-04-11 18:58:19 +0000 |
commit | 93745c1b753a9631f9f263a6f6c291a5eaa94c2b (patch) | |
tree | 559b8859f223c1fcc3d893cc9f35626fff7ef55f /gtk/firewall_dlg.c | |
parent | 66b910c5f9b36e0dd146d9135777cb3fb75b3d98 (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/firewall_dlg.c')
-rw-r--r-- | gtk/firewall_dlg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/firewall_dlg.c b/gtk/firewall_dlg.c index 93c31b2072..b06be47687 100644 --- a/gtk/firewall_dlg.c +++ b/gtk/firewall_dlg.c @@ -287,19 +287,19 @@ firewall_rule_cb(GtkWidget *w _U_, gpointer data _U_) gtk_button_box_set_spacing(GTK_BUTTON_BOX(button_hbox), 5); /* Create Copy Button */ - button = BUTTON_NEW_FROM_STOCK(GTK_STOCK_COPY); + button = gtk_button_new_from_stock(GTK_STOCK_COPY); SIGNAL_CONNECT(button, "clicked", firewall_copy_cmd_cb, rule_info); gtk_tooltips_set_tip (tooltips, button, "Copy rule to clipboard ", NULL); gtk_box_pack_start(GTK_BOX(button_hbox), button, FALSE, FALSE, 0); /* Create Save As Button */ - button = BUTTON_NEW_FROM_STOCK(GTK_STOCK_SAVE_AS); + button = gtk_button_new_from_stock(GTK_STOCK_SAVE_AS); SIGNAL_CONNECT(button, "clicked", firewall_save_as_cmd_cb, rule_info); gtk_tooltips_set_tip (tooltips, button, "Save the rule as currently displayed ", NULL); gtk_box_pack_start(GTK_BOX(button_hbox), button, FALSE, FALSE, 0); /* Create Close Button */ - button = BUTTON_NEW_FROM_STOCK(GTK_STOCK_CLOSE); + button = gtk_button_new_from_stock(GTK_STOCK_CLOSE); gtk_tooltips_set_tip (tooltips, button, "Close the dialog", NULL); gtk_box_pack_start(GTK_BOX(button_hbox), button, FALSE, FALSE, 0); |