diff options
Diffstat (limited to 'tests/name-watch-test.cc')
-rw-r--r-- | tests/name-watch-test.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/name-watch-test.cc b/tests/name-watch-test.cc index cf06403..263b3f2 100644 --- a/tests/name-watch-test.cc +++ b/tests/name-watch-test.cc @@ -1,5 +1,6 @@ /* * Copyright 2013 Canonical Ltd. + * Copyright 2021 Robert Tari * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -15,6 +16,7 @@ * * Authors: * Ted Gould <ted@canonical.com> + * Robert Tari <robert@tari.in> */ #include <gio/gio.h> @@ -41,8 +43,8 @@ class NameWatchTest : public ::testing::Test } static gboolean timeout_cb (gpointer user_data) { - GMainLoop * loop = static_cast<GMainLoop *>(user_data); - g_main_loop_quit(loop); + GMainLoop * pLoop = static_cast<GMainLoop *>(user_data); + g_main_loop_quit(pLoop); return G_SOURCE_REMOVE; } |