Checks if two icons are equal.
pointer to the second #GIcon.
true if icon1 is equal to icon2. false otherwise.
Checks if two icons are equal.