Lines Matching full:icon
38 * @short_description: Icon with emblems
43 * adding an emblem to an icon. Adding multiple emblems to an
44 * icon is ensured via g_emblemed_icon_add_emblem().
56 GIcon *icon;
77 g_object_unref (emblemed->icon);
98 * @icon: a #GIcon
101 * Creates a new emblemed icon for @icon with the emblem @emblem.
108 g_emblemed_icon_new (GIcon *icon,
113 g_return_val_if_fail (G_IS_ICON (icon), NULL);
114 g_return_val_if_fail (!G_IS_EMBLEM (icon), NULL);
118 emblemed->icon = g_object_ref (icon);
130 * Gets the main icon for @emblemed.
141 return emblemed->icon;
148 * Gets the list of emblems for the @icon.
185 g_emblemed_icon_hash (GIcon *icon)
187 GEmblemedIcon *emblemed = G_EMBLEMED_ICON (icon);
189 guint hash = g_icon_hash (emblemed->icon);
221 if (!g_icon_equal (emblemed1->icon, emblemed2->icon))
243 g_emblemed_icon_to_tokens (GIcon *icon,
247 GEmblemedIcon *emblemed_icon = G_EMBLEMED_ICON (icon);
260 s = g_icon_to_string (emblemed_icon->icon);
312 emblemed_icon->icon = g_icon_new_for_string (tokens[0], error);
313 if (emblemed_icon->icon == NULL)