From ac5dce5120ba66cf16774578c1cea5f331df4692 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Tue, 11 Oct 2011 22:10:47 +0000 Subject: make this build on debian squeeze --- src/trg-main-window.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/trg-main-window.h') diff --git a/src/trg-main-window.h b/src/trg-main-window.h index c9e01a7..683cf35 100644 --- a/src/trg-main-window.h +++ b/src/trg-main-window.h @@ -72,5 +72,9 @@ GtkTreeModel *trg_main_window_get_torrent_model(TrgMainWindow * win); void trg_main_window_notebook_set_visible(TrgMainWindow *win, gboolean visible); void connect_cb(GtkWidget * w, gpointer data); +#if !GTK_CHECK_VERSION(2, 21, 1) +#define gdk_drag_context_get_actions(context) context->actions +#endif + G_END_DECLS #endif /* MAIN_WINDOW_H_ */ -- cgit v1.2.3