]> Pileus Git - ~andy/gtk/blob - gtk/gtkiconcachevalidator.h
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / gtkiconcachevalidator.h
1 /* gtkiconcachevalidator.4
2  * Copyright (C) 2007 Red Hat, Inc
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16  */
17 #ifndef __GTK_ICON_CACHE_VALIDATOR_H__
18 #define __GTK_ICON_CACHE_VALIDATOR_H__
19
20
21 #include <glib.h>
22
23 G_BEGIN_DECLS
24
25 enum {
26   CHECK_OFFSETS = 1,
27   CHECK_STRINGS = 2,
28   CHECK_PIXBUFS = 4
29 };
30
31 typedef struct {
32   const gchar *cache;
33   gsize cache_size;
34   guint32 n_directories;
35   gint flags;
36 } CacheInfo;
37
38 gboolean _gtk_icon_cache_validate (CacheInfo *info);
39
40 G_END_DECLS
41
42 #endif  /* __GTK_ICON_CACHE_VALIDATOR_H__ */