From c427fa73c4f7853de992eda9de1c818c2ee525aa Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Wed, 18 Jan 2012 23:30:02 +0000 Subject: full and default gtk3 support, almost. the graph is disabled as the drawing api has changed quite a bit. yet another implementation to pass arguments, which made a cleanup of main.c necessary. --- src/trg-torrent-graph.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/trg-torrent-graph.c') diff --git a/src/trg-torrent-graph.c b/src/trg-torrent-graph.c index 94c4ecc..0b47bab 100644 --- a/src/trg-torrent-graph.c +++ b/src/trg-torrent-graph.c @@ -27,13 +27,15 @@ * on this widget but with some improvements I didn't do. */ +#include "trg-torrent-graph.h" + +#if TRG_WITH_GRAPH + #include #include #include #include #include - -#include "trg-torrent-graph.h" #include "util.h" /* damn you freebsd */ @@ -633,3 +635,5 @@ unsigned trg_torrent_graph_get_num_bars(TrgTorrentGraph * g) return n; } + +#endif -- cgit v1.2.3