[gnome-builder] unsaved-files: remove main thread check



commit a43be532b64b979a3c84fcb68670a7ce368c1d7e
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jan 4 19:58:13 2018 -0800

    unsaved-files: remove main thread check
    
    This can be called from a thread and that is just fine.

 src/libide/buffers/ide-unsaved-files.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/libide/buffers/ide-unsaved-files.c b/src/libide/buffers/ide-unsaved-files.c
index a050f6c..a43ef88 100644
--- a/src/libide/buffers/ide-unsaved-files.c
+++ b/src/libide/buffers/ide-unsaved-files.c
@@ -174,7 +174,6 @@ hash_uri (const gchar *uri)
   GChecksum *checksum;
   gchar *ret;
 
-  g_assert (IDE_IS_MAIN_THREAD ());
   g_assert (uri != NULL);
 
   checksum = g_checksum_new (G_CHECKSUM_SHA1);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]