mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Support GEmblemedIcon
svn path=/trunk/; revision=20951
This commit is contained in:
parent
ca66090cd5
commit
a8700de468
@ -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>
|
||||
|
||||
Bug 546128 – Weirz string
|
||||
|
@ -107,6 +107,14 @@ gicon_to_string (GIcon *icon)
|
||||
if (names)
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user