summaryrefslogtreecommitdiff
path: root/plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala')
-rw-r--r--plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala b/plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala
index 9e70d30..2f47771 100644
--- a/plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala
+++ b/plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala
@@ -10,10 +10,21 @@ private class ShotwellPublishingExtraServices : Object, Spit.Module {
private Spit.Pluggable[] pluggables = new Spit.Pluggable[0];
public ShotwellPublishingExtraServices(GLib.File module_file) {
+#if HAVE_YANDEX
pluggables += new YandexService();
+#endif
+
+#if HAVE_TUMBLR
pluggables += new TumblrService(module_file.get_parent());
+#endif
+
+#if HAVE_RAJCE
pluggables += new RajceService(module_file.get_parent());
+#endif
+
+#if HAVE_GALLERY3
pluggables += new Gallery3Service(module_file.get_parent());
+#endif
}
public unowned string get_module_name() {