summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/ui.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/ui/ui.c b/src/ui/ui.c
index 597d945..9cf9c27 100644
--- a/src/ui/ui.c
+++ b/src/ui/ui.c
@@ -988,6 +988,16 @@ meta_ui_get_pixbuf_from_pixmap (Pixmap pmap)
return pixbuf;
}
-
-
+void
+meta_ui_get_fallback_icons (GdkPixbuf **fallback_icon_p,
+ GdkPixbuf **fallback_mini_icon_p)
+{
+ MetaTheme *theme = meta_theme_get_current ();
+
+ if (fallback_icon_p)
+ *fallback_icon_p = theme->fallback_icon;
+
+ if (fallback_mini_icon_p)
+ *fallback_mini_icon_p = theme->fallback_mini_icon;
+}