diff src/compat.h @ 1574:ee2b66a09a03

compilation fixes for older glib and gtk
author nadvornik
date Tue, 28 Apr 2009 06:54:59 +0000
parents 8b89e3ff286b
children babd4142523f
line wrap: on
line diff
--- a/src/compat.h	Mon Apr 27 23:07:59 2009 +0000
+++ b/src/compat.h	Tue Apr 28 06:54:59 2009 +0000
@@ -14,6 +14,12 @@
 #define COMPAT_H
 
 void radio_action_set_current_value(GtkRadioAction *action, gint current_value);
+GList* hash_table_get_keys(GHashTable *hash_table);
+
+#if !GTK_CHECK_VERSION(2,12,0)
+#define gtk_widget_set_tooltip_text(widget, text) /* ignored */
+#endif
+
 
 #endif /* COMPAT_H */
 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */