summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Berla <corey@berla.me>2024-01-25 18:14:50 -0800
committerCorey Berla <corey@berla.me>2024-01-26 13:17:23 -0800
commit0f4b447d2c688c3f38215ce09cf3630d75fee7c4 (patch)
tree4bd5e9d1e8f79420ed5c8f0843d68834475c845f
parentf44f752856c230f9323ac70a2d78298f9bb794dc (diff)
progress-info: Add comment about threadsafetywip/corey/progress-indicator
In the header, there's a comment that indicates all functions are thread safe, well this one function isn't.
-rw-r--r--src/nautilus-progress-info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-progress-info.h b/src/nautilus-progress-info.h
index 8f274b867..189a16a38 100644
--- a/src/nautilus-progress-info.h
+++ b/src/nautilus-progress-info.h
@@ -38,6 +38,7 @@ G_DECLARE_FINAL_TYPE (NautilusProgressInfo, nautilus_progress_info, NAUTILUS, PR
All methods are threadsafe.
*/
+/* Always create progress info's on the main thread, this function is not thread safe */
NautilusProgressInfo *nautilus_progress_info_new (void);
GList * nautilus_get_all_progress_info (void);