merge of 'd03c32ee4bd5625c28af8c8b33920944d499eef6'
[pidgin-git.git] / finch / gntidle.c
blob1452bcd6d2da0823b47114834869d60fc6f9fff6
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 "finch.h"
25 #include "gntidle.h"
26 #include "gntwm.h"
28 #include "idle.h"
30 static time_t
31 finch_get_idle_time(void)
33 return gnt_wm_get_idle_time();
36 static PurpleIdleUiOps ui_ops =
38 finch_get_idle_time,
40 /* padding */
41 NULL,
42 NULL,
43 NULL,
44 NULL
47 PurpleIdleUiOps *
48 finch_idle_get_ui_ops()
50 return &ui_ops;