Merged pidgin/main into default
[pidgin-git.git] / finch / gntidle.c
bloba95f09bab69846b8a8256ea52bb9a3cbe60321b4
1 /*
2 * finch
4 * Finch is the legal property of its developers, whose names are too numerous
5 * to list here. Please refer to the COPYRIGHT file distributed with this
6 * source distribution.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
24 #include <internal.h>
26 #include "finch.h"
27 #include "gntidle.h"
28 #include "gnt.h"
29 #include "gntwm.h"
31 #include "idle.h"
33 static time_t
34 finch_get_idle_time(void)
36 return gnt_wm_get_idle_time();
39 static PurpleIdleUiOps ui_ops =
41 finch_get_idle_time,
43 /* padding */
44 NULL,
45 NULL,
46 NULL,
47 NULL
50 PurpleIdleUiOps *
51 finch_idle_get_ui_ops()
53 return &ui_ops;