[gtk/wip/baedert/icontheme2] icontheme: Don't look at iconinfo flags for hashing
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/icontheme2] icontheme: Don't look at iconinfo flags for hashing
- Date: Sun, 1 Sep 2019 15:20:57 +0000 (UTC)
commit 11cb680c0282007c8defa54de11845768d126d6c
Author: Timm Bäder <mail baedert org>
Date: Sun Sep 1 17:20:30 2019 +0200
icontheme: Don't look at iconinfo flags for hashing
gtk/gtkicontheme.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 9f5f2680f2..4f68fe820b 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -350,7 +350,6 @@ icon_info_key_hash (gconstpointer _key)
h ^= key->size * 0x10001;
h ^= key->scale * 0x1000010;
- h ^= key->flags * 0x100000100;
return h;
}
@@ -369,9 +368,6 @@ icon_info_key_equal (gconstpointer _a,
if (a->scale != b->scale)
return FALSE;
- if (a->flags != b->flags)
- return FALSE;
-
for (i = 0;
a->icon_names[i] != NULL &&
b->icon_names[i] != NULL; i++)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]