Support GEmblemedIcon

svn path=/trunk/; revision=20951
This commit is contained in:
Matthias Clasen 2008-08-03 19:28:05 +00:00
parent ca66090cd5
commit a8700de468
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-08-03 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkapplaunchcontext-x11.c: Support GEmblemedIcon.
2008-08-03 Matthias Clasen <mclasen@redhat.com> 2008-08-03 Matthias Clasen <mclasen@redhat.com>
Bug 546128 Weirz string Bug 546128 Weirz string

View File

@ -107,6 +107,14 @@ gicon_to_string (GIcon *icon)
if (names) if (names)
return g_strdup (names[0]); return g_strdup (names[0]);
} }
else if (G_IS_EMBLEMED_ICON (icon))
{
GIcon *base;
base = g_emblemed_icon_get_icon (G_EMBLEMED_ICON (icon));
return gicon_to_string (base);
}
return NULL; return NULL;
} }