compilation fixes for older glib and gtk
[geeqie.git] / src / compat.h
1 /*
2  * Geeqie
3  * Copyright (C) 2008 - 2009 The Geeqie Team
4  *
5  * Authors: Vladimir Nadvornik / Laurent Monin
6  *
7  *
8  * This software is released under the GNU General Public License (GNU GPL).
9  * Please read the included file COPYING for more information.
10  * This software comes with no warranty of any kind, use at your own risk!
11  */
12
13 #ifndef COMPAT_H
14 #define COMPAT_H
15
16 void radio_action_set_current_value(GtkRadioAction *action, gint current_value);
17 GList* hash_table_get_keys(GHashTable *hash_table);
18
19 #if !GTK_CHECK_VERSION(2,12,0)
20 #define gtk_widget_set_tooltip_text(widget, text) /* ignored */
21 #endif
22
23
24 #endif /* COMPAT_H */
25 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */