2011-10-07 [colin] 3.7.10cvs26
[claws.git] / src / gtk / gtkutils.h
index af6c51f9ba6d92c4eb1e9c84c0107cb9210b46bd..7ce1fdab8db0870e8a098cc05e1dca42783aaea6 100644 (file)
@@ -243,6 +243,12 @@ claws_input_add    (gint         source,
        gtk_tooltips_set_tip(GTK_TOOLTIPS(tips), widget,        \
                            tip, NULL);                         \
 }
-
+#endif
+#if !GTK_CHECK_VERSION(2,22,0)
+#define gdk_drag_context_get_selected_action(x) ((x)->action)
+#define gdk_drag_context_get_actions(x) ((x)->actions)
+#define gtk_text_view_get_vadjustment(x) ((x)->vadjustment)
+#define gdk_drag_context_get_suggested_action(x) ((x)->suggested_action)
+#define gtk_button_get_event_window(x) ((x)->event_window)
 #endif
 #endif /* __GTKUTILS_H__ */