/* Note that doing so invalidates the hash computed by prior calls to g_icon_hash().  */
void g_themed_icon_append_name(GThemedIcon *icon, const char *iconname)
/* Note that doing so invalidates the hash computed by prior calls to g_icon_hash().  */
void g_themed_icon_append_name(GThemedIcon *icon, const char *iconname)
{
  guint num_names;
  g_return_if_fail (G_IS_THEMED_ICON (icon));
  g_return_if_fail (iconname != NULL);
  num_names = g_strv_length (icon->names);
  icon->names = g_realloc (icon->names, sizeof (char*) * (num_names + 2));
  icon->names[num_names] = g_strdup (iconname);
  icon->names[num_names + 1] = NULL;
  g_object_notify (G_OBJECT (icon), "names");
}