guint is_display_singleton : 1;
guint pixbuf_supports_svg : 1;
guint themes_valid : 1;
- guint loading_themes : 1;
/* A list of all the themes needed to look up icons.
* In search order, without duplicates
gboolean was_valid = self->themes_valid;
gint64 before = g_get_monotonic_time ();
- if (self->loading_themes)
- return TRUE;
- self->loading_themes = TRUE;
-
if (self->themes_valid)
{
g_get_current_time (&tv);
if (gdk_profiler_is_running ())
gdk_profiler_add_mark (before * 1000, (g_get_monotonic_time () - before) * 1000, "icon theme load", NULL);
- self->loading_themes = FALSE;
return TRUE;
}