summaryrefslogtreecommitdiff
path: root/c-sources/pcap-monitor.c
diff options
context:
space:
mode:
authorWill Thompson <will@willthompson.co.uk>2017-08-11 09:39:48 +0100
committerWill Thompson <will@willthompson.co.uk>2017-10-26 08:23:22 +0100
commitde3a4621d56e87501a5506504fb927e346fcd04f (patch)
tree69e5905b59978741f9d680c8d6a1bac6498f5adc /c-sources/pcap-monitor.c
parent6d54d9aabc8fbb52a27642c655ac4026a5ef53c7 (diff)
Bump minimum GLib version to 2.44
Diffstat (limited to 'c-sources/pcap-monitor.c')
-rw-r--r--c-sources/pcap-monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c-sources/pcap-monitor.c b/c-sources/pcap-monitor.c
index 0a19d96..31bbbef 100644
--- a/c-sources/pcap-monitor.c
+++ b/c-sources/pcap-monitor.c
@@ -449,7 +449,7 @@ initable_init (
return FALSE;
}
- priv->thread = g_thread_create (log_thread, &priv->td, TRUE, error);
+ priv->thread = g_thread_try_new (NULL, log_thread, &priv->td, error);
if (priv->thread == NULL)
{
g_prefix_error (error, "Couldn't spawn logging thread: ");