[gnome-commander/ConvertWarningsToErrors] Fix for deprecated function warning, use g_thread_new now
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/ConvertWarningsToErrors] Fix for deprecated function warning, use g_thread_new now
- Date: Sat, 22 Apr 2017 14:32:27 +0000 (UTC)
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]