summaryrefslogtreecommitdiff
path: root/tests/testtoolbar.c
diff options
context:
space:
mode:
authorSoeren Sandmann <sandmann@daimi.au.dk>2003-07-30 18:35:08 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2003-07-30 18:35:08 +0000
commitdfca5a2aacceff5436c7c3bdeb6708a258571fcd (patch)
treefb9191c4d83ae66e4981bec8d96d4bd5f243b9e6 /tests/testtoolbar.c
parent1144aa35a52a3fba30bb618f7e91ed106cd8d31f (diff)
downloadgtk+-dfca5a2aacceff5436c7c3bdeb6708a258571fcd.tar.gz
swap icon_widget and label arguments to match BonoboUIToolbarButton.
Wed Jul 30 17:03:58 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbutton.[ch]: (gtk_tool_button_new): swap icon_widget and label arguments to match BonoboUIToolbarButton. * gtk/gtktoolbar.h: un-deprecate gtk_toolbar_{set|unset}_style().
Diffstat (limited to 'tests/testtoolbar.c')
-rw-r--r--tests/testtoolbar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testtoolbar.c b/tests/testtoolbar.c
index 803d8ef730..8d5fb7aa52 100644
--- a/tests/testtoolbar.c
+++ b/tests/testtoolbar.c
@@ -547,7 +547,7 @@ main (gint argc, gchar **argv)
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
item = gtk_tool_button_new_from_stock (GTK_STOCK_REFRESH);
- add_item_to_list (store, item, "Refresh");
+ add_item_to_list (store, item, "Refresh");
g_signal_connect (item, "clicked", G_CALLBACK (reload_clicked), NULL);
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
@@ -594,7 +594,7 @@ main (gint argc, gchar **argv)
add_item_to_list (store, item, "Right");
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
- item = gtk_tool_button_new ("_Apple", gtk_image_new_from_file ("apple-red.png"));
+ item = gtk_tool_button_new (gtk_image_new_from_file ("apple-red.png"), "_Apple");
add_item_to_list (store, item, "Apple");
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
gtk_tool_button_set_use_underline (GTK_TOOL_BUTTON (item), TRUE);