summaryrefslogtreecommitdiff
path: root/capplets/common/theme-thumbnail.h
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-01 21:51:44 -0300
committerPerberos <[email protected]>2011-12-01 21:51:44 -0300
commit0b0e6bc987da4fd88a7854ebb12bde705e92c428 (patch)
tree47d329edd31c67eaa36b2147780e37e197e901b5 /capplets/common/theme-thumbnail.h
downloadmate-control-center-0b0e6bc987da4fd88a7854ebb12bde705e92c428.tar.bz2
mate-control-center-0b0e6bc987da4fd88a7854ebb12bde705e92c428.tar.xz
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'capplets/common/theme-thumbnail.h')
-rw-r--r--capplets/common/theme-thumbnail.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/capplets/common/theme-thumbnail.h b/capplets/common/theme-thumbnail.h
new file mode 100644
index 00000000..fe25f706
--- /dev/null
+++ b/capplets/common/theme-thumbnail.h
@@ -0,0 +1,37 @@
+#ifndef __THEME_THUMBNAIL_H__
+#define __THEME_THUMBNAIL_H__
+
+
+#include <gtk/gtk.h>
+#include "mate-theme-info.h"
+
+typedef void (* ThemeThumbnailFunc) (GdkPixbuf *pixbuf,
+ gchar *theme_name,
+ gpointer data);
+
+GdkPixbuf *generate_meta_theme_thumbnail (MateThemeMetaInfo *theme_info);
+GdkPixbuf *generate_gtk_theme_thumbnail (MateThemeInfo *theme_info);
+GdkPixbuf *generate_marco_theme_thumbnail (MateThemeInfo *theme_info);
+GdkPixbuf *generate_icon_theme_thumbnail (MateThemeIconInfo *theme_info);
+
+void generate_meta_theme_thumbnail_async (MateThemeMetaInfo *theme_info,
+ ThemeThumbnailFunc func,
+ gpointer data,
+ GDestroyNotify destroy);
+void generate_gtk_theme_thumbnail_async (MateThemeInfo *theme_info,
+ ThemeThumbnailFunc func,
+ gpointer data,
+ GDestroyNotify destroy);
+void generate_marco_theme_thumbnail_async (MateThemeInfo *theme_info,
+ ThemeThumbnailFunc func,
+ gpointer data,
+ GDestroyNotify destroy);
+void generate_icon_theme_thumbnail_async (MateThemeIconInfo *theme_info,
+ ThemeThumbnailFunc func,
+ gpointer data,
+ GDestroyNotify destroy);
+
+void theme_thumbnail_factory_init (int argc,
+ char *argv[]);
+
+#endif /* __THEME_THUMBNAIL_H__ */