gtk+ r20951 - in trunk: . gdk/x11
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20951 - in trunk: . gdk/x11
- Date: Sun, 3 Aug 2008 19:28:06 +0000 (UTC)
Author: matthiasc
Date: Sun Aug 3 19:28:05 2008
New Revision: 20951
URL: http://svn.gnome.org/viewvc/gtk+?rev=20951&view=rev
Log:
Support GEmblemedIcon
Modified:
trunk/ChangeLog
trunk/gdk/x11/gdkapplaunchcontext-x11.c
Modified: trunk/gdk/x11/gdkapplaunchcontext-x11.c
==============================================================================
--- trunk/gdk/x11/gdkapplaunchcontext-x11.c (original)
+++ trunk/gdk/x11/gdkapplaunchcontext-x11.c Sun Aug 3 19:28:05 2008
@@ -107,6 +107,14 @@
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]