Merge branch 'fix-gnotification-tests' into 'master'

tests: fix gnotification tests broken due to the recent icon name fallback changes

See merge request GNOME/glib!252
This commit is contained in:
Philip Withnall 2018-08-20 09:05:18 +00:00
commit a7ffddbaf9

View File

@ -219,7 +219,8 @@ test_properties (void)
g_assert (G_IS_THEMED_ICON (rn->icon));
names = g_themed_icon_get_names (G_THEMED_ICON (rn->icon));
g_assert_cmpstr (names[0], ==, "i-c-o-n");
g_assert (names[1] == NULL);
g_assert_cmpstr (names[1], ==, "i-c-o-n-symbolic");
g_assert_null (names[2]);
g_assert (rn->priority == G_NOTIFICATION_PRIORITY_HIGH);
g_assert_cmpint (rn->buttons->len, ==, 1);