From 69129e806532796e44522775656c7800c389e5f8 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sat, 27 Nov 2010 16:56:44 -0500 Subject: [PATCH] Make gio/tests/g-icon pass again It got broken in two different ways by the g_str_hash() change (354d655b) --- gio/tests/g-icon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gio/tests/g-icon.c b/gio/tests/g-icon.c index 2bf63b7c3..52465c802 100644 --- a/gio/tests/g-icon.c +++ b/gio/tests/g-icon.c @@ -258,7 +258,7 @@ test_themed_icon (void) g_assert_cmpstr (names[0], ==, "first"); g_assert_cmpstr (names[1], ==, "testicon"); g_assert_cmpstr (names[2], ==, "last"); - g_assert_cmpuint (g_icon_hash (icon1), ==, 3193088045U); + g_assert_cmpuint (g_icon_hash (icon1), ==, 2400773466U); icon2 = g_themed_icon_new_from_names ((gchar**)names2, -1); g_assert (g_icon_equal (icon1, icon2)); @@ -299,11 +299,11 @@ test_emblemed_icon (void) emblem = emblems->data; g_assert (g_emblem_get_icon (emblem) == icon2); - g_assert (g_emblem_get_origin (emblem) == G_EMBLEM_ORIGIN_UNKNOWN); + g_assert (g_emblem_get_origin (emblem) == G_EMBLEM_ORIGIN_TAG); emblem = emblems->next->data; g_assert (g_emblem_get_icon (emblem) == icon2); - g_assert (g_emblem_get_origin (emblem) == G_EMBLEM_ORIGIN_TAG); + g_assert (g_emblem_get_origin (emblem) == G_EMBLEM_ORIGIN_UNKNOWN); g_object_unref (icon1); g_object_unref (icon2);