diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-10-11 22:10:47 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-10-11 22:10:47 +0000 |
commit | ac5dce5120ba66cf16774578c1cea5f331df4692 (patch) | |
tree | 80592e1f18a50209957793d34fc28c14fffa738c /src/trg-main-window.h | |
parent | 740e695320c9b015fa1dfe203f8e4205024df272 (diff) |
make this build on debian squeeze
Diffstat (limited to 'src/trg-main-window.h')
-rw-r--r-- | src/trg-main-window.h | 4 |
1 files changed, 4 insertions, 0 deletions
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_ */ |