summaryrefslogtreecommitdiff
path: root/tests/testtooltips.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2013-06-24 17:31:22 -0400
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2013-06-24 19:53:08 -0400
commitfc71cbe5a6e22c7dea24a028d87ad0e2a050020b (patch)
treebaf11b422ee1640b6e17ac317e27eb2ea49ad59f /tests/testtooltips.c
parentc79a21e1ddda961be43813daa9179505af89adb7 (diff)
downloadgtk+-fc71cbe5a6e22c7dea24a028d87ad0e2a050020b.tar.gz
Remove most of the stock API usage from the tests
With the exception of GtkActions and the tests for stock items.
Diffstat (limited to 'tests/testtooltips.c')
-rw-r--r--tests/testtooltips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testtooltips.c b/tests/testtooltips.c
index 483b8fd2a3..b8d1e13469 100644
--- a/tests/testtooltips.c
+++ b/tests/testtooltips.c
@@ -32,8 +32,8 @@ query_tooltip_cb (GtkWidget *widget,
gpointer data)
{
gtk_tooltip_set_markup (tooltip, gtk_button_get_label (GTK_BUTTON (widget)));
- gtk_tooltip_set_icon_from_stock (tooltip, GTK_STOCK_DELETE,
- GTK_ICON_SIZE_MENU);
+ gtk_tooltip_set_icon_from_icon_name (tooltip, "edit-delete",
+ GTK_ICON_SIZE_MENU);
return TRUE;
}