summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0e1e5c8)
raw | patch | inline | side by side (parent: 0e1e5c8)
author | Max Kellermann <max.kellermann@gmail.com> | |
Mon, 20 Mar 2017 15:41:58 +0000 (16:41 +0100) | ||
committer | Max Kellermann <max.kellermann@gmail.com> | |
Mon, 20 Mar 2017 15:41:58 +0000 (16:41 +0100) |
src/main.c | patch | blob | history |
diff --git a/src/main.c b/src/main.c
index 5b906c513173385869779869c19f07f2b02784f9..8bfa03a86cff4bc8c0e9e06a55f7660b13159bf1 100644 (file)
--- a/src/main.c
+++ b/src/main.c
signals_init(main_loop, mpd);
/* attempt to connect */
- reconnect_source_id = g_timeout_add(1, timer_reconnect, NULL);
+ reconnect_source_id = g_idle_add(timer_reconnect, NULL);
auto_update_timer();