summaryrefslogtreecommitdiff
path: root/gtk/gtkicontheme.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkicontheme.h')
-rw-r--r--gtk/gtkicontheme.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkicontheme.h b/gtk/gtkicontheme.h
index afc79e5a18..f0fc704ed4 100644
--- a/gtk/gtkicontheme.h
+++ b/gtk/gtkicontheme.h
@@ -44,13 +44,16 @@ typedef struct _GtkIconTheme GtkIconTheme;
* when symbolic icon names are given
* @GTK_ICON_LOOKUP_FORCE_SYMBOLIC: Try to always load symbolic icons, even
* when regular icon names are given
+ * @GTK_ICON_LOOKUP_LOAD_IN_THREAD: Starts loading the texture in the background
+ * so it is ready when later needed.
*
* Used to specify options for gtk_icon_theme_lookup_icon()
*/
typedef enum
{
GTK_ICON_LOOKUP_FORCE_REGULAR = 1 << 0,
- GTK_ICON_LOOKUP_FORCE_SYMBOLIC = 1 << 1
+ GTK_ICON_LOOKUP_FORCE_SYMBOLIC = 1 << 1,
+ GTK_ICON_LOOKUP_LOAD_IN_THREAD = 1 << 2,
} GtkIconLookupFlags;
/**