aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-indicator-ng.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/tests/test-indicator-ng.c b/tests/test-indicator-ng.c
index 185b3ee..150cc37 100644
--- a/tests/test-indicator-ng.c
+++ b/tests/test-indicator-ng.c
@@ -122,18 +122,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");
- {
- GIcon *icon;
- gchar *iconstr;
-
- gtk_image_get_gicon (entry->image, &icon, NULL);
- g_assert (icon);
-
- iconstr = g_icon_to_string (icon);
- g_assert_cmpstr (iconstr, ==, "indicator-test");
-
- g_free (iconstr);
- }
+ g_assert (gtk_image_get_storage_type (entry->image) == GTK_IMAGE_STOCK);
{
GList *children;
GtkMenuItem *item;