[gnome-commander] 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] Fix for deprecated function warning, use g_thread_new now
- Date: Fri, 28 Apr 2017 21:38:46 +0000 (UTC)
commit dae0af4ee2955a3de8b8d6c250767ff8149b37ae
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]