Bug 793125 - Crash due to popup menus left attached too long
[evolution.git] / src / calendar / gui / misc.h
blob3aff75df53f4285ae0c56a1a62f9a71b500717d1
1 /*
3 * Evolution calendar - Miscellaneous utility functions
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU Lesser General Public License as published by
7 * the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * for more details.
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 * Authors:
19 * Federico Mena-Quintero <federico@ximian.com>
21 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
25 #ifndef MISC_H
26 #define MISC_H
28 #include <glib.h>
29 #include <time.h>
31 gboolean string_is_empty (const gchar *value);
32 gint get_position_in_array (GPtrArray *objects, gpointer item);
33 gchar * calculate_time (time_t start, time_t end);
34 #endif