gnome-control-center/capplets/common/theme-thumbnail.h
Denis Washington 4ac577360b Generate all types of thumbnails in a seperate process, not just those for
2007-06-25  Denis Washington  <denisw@svn.gnome.org>

	* theme-thumbnail.[ch]:
	Generate all types of thumbnails in a seperate process, not just those for
	metathemes.

svn path=/trunk/; revision=7774
2007-06-25 15:10:21 +00:00

37 lines
2 KiB
C

#ifndef __THEME_THUMBNAIL_H__
#define __THEME_THUMBNAIL_H__
#include <gtk/gtk.h>
#include "gnome-theme-info.h"
typedef void (* ThemeThumbnailFunc) (GdkPixbuf *pixbuf,
gchar *theme_name,
gpointer data);
GdkPixbuf *generate_meta_theme_thumbnail (GnomeThemeMetaInfo *theme_info);
GdkPixbuf *generate_gtk_theme_thumbnail (GnomeThemeInfo *theme_info);
GdkPixbuf *generate_metacity_theme_thumbnail (GnomeThemeInfo *theme_info);
GdkPixbuf *generate_icon_theme_thumbnail (GnomeThemeIconInfo *theme_info);
void generate_meta_theme_thumbnail_async (GnomeThemeMetaInfo *theme_info,
ThemeThumbnailFunc func,
gpointer data,
GDestroyNotify destroy);
void generate_gtk_theme_thumbnail_async (GnomeThemeInfo *theme_info,
ThemeThumbnailFunc func,
gpointer data,
GDestroyNotify destroy);
void generate_metacity_theme_thumbnail_async (GnomeThemeInfo *theme_info,
ThemeThumbnailFunc func,
gpointer data,
GDestroyNotify destroy);
void generate_icon_theme_thumbnail_async (GnomeThemeIconInfo *theme_info,
ThemeThumbnailFunc func,
gpointer data,
GDestroyNotify destroy);
void theme_thumbnail_factory_init (int argc,
char *argv[]);
#endif /* __THEME_THUMBNAIL_H__ */