[gnome-commander/ConvertWarningsToErrors] Fix for deprecated function warning, use g_thread_new now



commit b9621d207058dc37bc9ea7b8823b701020082ea8
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sat Apr 22 16:09:15 2017 +0200

    Fix for deprecated function warning, use g_thread_new now

 src/gnome-cmd-con-device.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-con-device.cc b/src/gnome-cmd-con-device.cc
index c3a4daa..f29a215 100644
--- a/src/gnome-cmd-con-device.cc
+++ b/src/gnome-cmd-con-device.cc
@@ -183,7 +183,7 @@ static void dev_open (GnomeCmdCon *con)
     con->state = GnomeCmdCon::STATE_OPENING;
     con->open_result = GnomeCmdCon::OPEN_IN_PROGRESS;
 
-    g_thread_create ((GThreadFunc) do_mount_thread_func, con, FALSE, NULL);
+    g_thread_new (NULL, (GThreadFunc) do_mount_thread_func, con);
 }
 
 


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