Searched refs:global_mime_dirs (Results 1 – 1 of 1) sorted by relevance
116 G_LOCK_DEFINE_STATIC (global_mime_dirs);117 static gchar **global_mime_dirs = NULL; variable122 g_clear_pointer (&global_mime_dirs, g_strfreev); in _g_content_type_set_mime_dirs_locked()126 global_mime_dirs = g_strdupv ((gchar **) dirs); in _g_content_type_set_mime_dirs_locked()138 global_mime_dirs = (gchar **) g_ptr_array_free (mime_dirs, FALSE); in _g_content_type_set_mime_dirs_locked()141 xdg_mime_set_dirs ((const gchar * const *) global_mime_dirs); in _g_content_type_set_mime_dirs_locked()181 G_LOCK (global_mime_dirs); in g_content_type_set_mime_dirs()183 G_UNLOCK (global_mime_dirs); in g_content_type_set_mime_dirs()203 G_LOCK (global_mime_dirs); in g_content_type_get_mime_dirs()205 if (global_mime_dirs == NULL) in g_content_type_get_mime_dirs()[all …]