2007-06-06 Jens Granseuer <jensgr@gmx.net> * theme-thumbnail.c: (message_from_child), (generate_theme_thumbnail), (generate_theme_thumbnail_async), (theme_thumbnail_factory_init): * theme-thumbnail.h: remove caching from the thumbnailer since all of the current users work around it anyway, and resources aren't managed properly svn path=/trunk/; revision=7699
26 lines
916 B
C
26 lines
916 B
C
#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);
|
|
void generate_theme_thumbnail_async (GnomeThemeMetaInfo *meta_theme_info,
|
|
ThemeThumbnailFunc func,
|
|
gpointer data,
|
|
GDestroyNotify destroy);
|
|
void theme_thumbnail_factory_init (int argc,
|
|
char *argv[]);
|
|
|
|
/* Functions for specific types of themes */
|
|
GdkPixbuf *generate_gtk_theme_thumbnail (GnomeThemeInfo *theme_info);
|
|
GdkPixbuf *generate_metacity_theme_thumbnail (GnomeThemeInfo *theme_info);
|
|
GdkPixbuf *generate_icon_theme_thumbnail (GnomeThemeIconInfo *theme_info);
|
|
|
|
|
|
#endif /* __THEME_THUMBNAIL_H__ */
|