fix a third warning about %d and long int
2007-12-19 Havoc Pennington <hp@redhat.com> * src/core/display.c (meta_display_open): fix a third warning about %d and long int * src/core/delete.c (io_from_ping_dialog): fix another warning about long int to %d * src/core/compositor.c (meta_compositor_new): fix a warning about long int to %d * src/core/iconcache.c (meta_read_icons): use meta_ui_get_fallback_icons() instead of incorrectly including theme.h * src/ui/ui.c (meta_ui_get_fallback_icons): new function svn path=/trunk/; revision=3492
This commit is contained in:

committed by
Havoc Pennington

parent
72b08c82b1
commit
b718f79c47
14
src/ui/ui.c
14
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user