summaryrefslogtreecommitdiff
path: root/capplets/common/theme-thumbnail.h
blob: 9b86a51cf594c070035187bde8b803d33e381143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __THEME_THUMBNAIL_H__
#define __THEME_THUMBNAIL_H__


#include <gtk/gtk.h>
#include "gnome-theme-info.h"

typedef void (* ThemeThumbnailFunc) (GdkPixbuf          *pixbuf,
				     gpointer            data);


GdkPixbuf *generate_theme_thumbnail         (GnomeThemeMetaInfo *meta_theme_info,
					     gboolean            clear_cache);
void       generate_theme_thumbnail_async   (GnomeThemeMetaInfo *meta_theme_info,
					     ThemeThumbnailFunc  func,
					     gpointer            data,
					     GDestroyNotify      destroy);
void       theme_thumbnail_invalidate_cache (GnomeThemeMetaInfo *meta_theme_info);
void       theme_thumbnail_factory_init     (int                 argc,
					     char               *argv[]);



#endif /* __THEME_THUMBNAIL_H__ */