summaryrefslogtreecommitdiff
path: root/tests/testadjustsize.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/testadjustsize.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/testadjustsize.c')
-rw-r--r--tests/testadjustsize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testadjustsize.c b/tests/testadjustsize.c
index 9191199b20..d3dccda72c 100644
--- a/tests/testadjustsize.c
+++ b/tests/testadjustsize.c
@@ -37,8 +37,8 @@ static GtkWidget *test_widgets[TEST_WIDGET_LAST];
static GtkWidget*
create_image (void)
{
- return gtk_image_new_from_stock (GTK_STOCK_OPEN,
- GTK_ICON_SIZE_BUTTON);
+ return gtk_image_new_from_icon_name ("document-open",
+ GTK_ICON_SIZE_BUTTON);
}
static GtkWidget*