aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorColin Watson <cjwatson@canonical.com>2013-12-20 20:31:02 +0000
committerTarmac <Unknown>2013-12-20 20:31:02 +0000
commitb7f99387236de7e9ba2fdd472a58e13446fdf5fa (patch)
tree3193f4935cf8886dc5683f8ded00c1d2a5f352e7 /tests
parentf6b60f14c68216d8db69b30da26f3f2bee6a7675 (diff)
parenta1e53835ca8e1d0d18bc9f79cfe4baec2f9edf1d (diff)
downloadlibayatana-indicator-b7f99387236de7e9ba2fdd472a58e13446fdf5fa.tar.gz
libayatana-indicator-b7f99387236de7e9ba2fdd472a58e13446fdf5fa.tar.bz2
libayatana-indicator-b7f99387236de7e9ba2fdd472a58e13446fdf5fa.zip
Use named icons rather than (deprecated) stock items. Fixes: https://bugs.launchpad.net/bugs/1262626.
Approved by Charles Kerr, PS Jenkins bot.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-indicator-ng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-indicator-ng.c b/tests/test-indicator-ng.c
index cf1f59a..296e00b 100644
--- a/tests/test-indicator-ng.c
+++ b/tests/test-indicator-ng.c
@@ -148,7 +148,7 @@ test_menu (void)
g_assert_cmpstr (entry->name_hint, ==, "indicator-test");
g_assert_cmpstr (entry->accessible_desc, ==, "Test indicator");
g_assert_cmpstr (gtk_label_get_label (entry->label), ==, "Test");
- g_assert (gtk_image_get_storage_type (entry->image) == GTK_IMAGE_STOCK);
+ g_assert (gtk_image_get_storage_type (entry->image) == GTK_IMAGE_ICON_NAME);
{
GList *children;
GtkMenuItem *item;