[gnome-session/benzea/systemd-issue-32: 1/2] gnome-session-ctl: Use g_main_loop_quit to fix warning
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session/benzea/systemd-issue-32: 1/2] gnome-session-ctl: Use g_main_loop_quit to fix warning
- Date: Tue, 24 Sep 2019 11:23:36 +0000 (UTC)
commit 559ef9c0baf7a63ebe75a2f967520276b87f57bc
Author: Benjamin Berg <bberg redhat com>
Date: Tue Sep 24 12:59:45 2019 +0200
gnome-session-ctl: Use g_main_loop_quit to fix warning
g_main_quit is deprecated, just switching to use g_main_loop_quit fixes
the warning.
tools/gnome-session-ctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tools/gnome-session-ctl.c b/tools/gnome-session-ctl.c
index 9276a0ad..c5be00da 100644
--- a/tools/gnome-session-ctl.c
+++ b/tools/gnome-session-ctl.c
@@ -150,7 +150,7 @@ leader_term_or_int_signal_cb (gpointer user_data)
{
MonitorLeader *data = (MonitorLeader*) user_data;
- g_main_quit (data->loop);
+ g_main_loop_quit (data->loop);
return G_SOURCE_REMOVE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]