[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:37:15 +0000 (UTC)
commit a773b57f92d87fd1e53e2f1c89c5281448c30f35
Author: Uwe Scholz <uwescholz src gnome org>
Date: Sat Apr 22 16:33:40 2017 +0200
Fix for deprecated function warning, use g_thread_new now
src/gnome-cmd-con-remote.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-con-remote.cc b/src/gnome-cmd-con-remote.cc
index 0a51e99..f63a7a0 100644
--- a/src/gnome-cmd-con-remote.cc
+++ b/src/gnome-cmd-con-remote.cc
@@ -73,7 +73,7 @@ static void get_file_info_func (GnomeCmdCon *con)
static gboolean start_get_file_info (GnomeCmdCon *con)
{
- g_thread_create ((GThreadFunc) get_file_info_func, con, FALSE, NULL);
+ g_thread_new (NULL, (GThreadFunc) get_file_info_func, con);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]