summaryrefslogtreecommitdiff
path: root/src/trg-rss-window.h
diff options
context:
space:
mode:
authorGravatar Alan F <ajf@eth0.org.uk>2014-02-24 18:48:23 +0000
committerGravatar Alan F <ajf@eth0.org.uk>2014-02-24 18:48:23 +0000
commit907636d97b1893e9df4ef28489c92d32118c6fa2 (patch)
tree3c621a000536cc2124ff4d20b8cdb9e084b86ab8 /src/trg-rss-window.h
parent1d6f77d4c4fafd0a9cafddd2797249557e601dba (diff)
plug the RSS feeds into the preferences dialog and put ifdefs so it should compile without rss-glib
Diffstat (limited to 'src/trg-rss-window.h')
-rw-r--r--src/trg-rss-window.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/trg-rss-window.h b/src/trg-rss-window.h
index c628a6b..5ce8690 100644
--- a/src/trg-rss-window.h
+++ b/src/trg-rss-window.h
@@ -20,6 +20,10 @@
#ifndef TRG_RSS_WINDOW_H_
#define TRG_RSS_WINDOW_H_
+#include "config.h"
+
+#ifdef HAVE_RSSGLIB
+
#include <glib-object.h>
#include <gtk/gtk.h>
@@ -50,4 +54,7 @@ GType trg_rss_window_get_type(void);
TrgRssWindow *trg_rss_window_get_instance(TrgMainWindow *parent, TrgClient *client);
G_END_DECLS
+
+#endif
+
#endif /* TRG_RSS_WINDOW_H_ */