summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-01-18 23:44:34 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-01-18 23:56:39 +0100
commit3f5cd65640927c562adcb4bbe6d00b0f2a0f91b4 (patch)
treee519f38b17eb66794f1746744780dd962540991c
parent3aab09c3e0528b84ee83cfd8ba5a03300e684821 (diff)
downloadlibrda-3f5cd65640927c562adcb4bbe6d00b0f2a0f91b4.tar.gz
librda-3f5cd65640927c562adcb4bbe6d00b0f2a0f91b4.tar.bz2
librda-3f5cd65640927c562adcb4bbe6d00b0f2a0f91b4.zip
Fix wrong WITH_REMOTE_AWARENESS_*** macro names.
-rw-r--r--src/rda.c20
-rw-r--r--src/rda_ogon.c4
-rw-r--r--src/rda_ogon.h4
-rw-r--r--src/rda_x2go.c4
-rw-r--r--src/rda_x2go.h4
5 files changed, 18 insertions, 18 deletions
diff --git a/src/rda.c b/src/rda.c
index 7d714e6..c6f436d 100644
--- a/src/rda.c
+++ b/src/rda.c
@@ -59,12 +59,12 @@ rda_session_is_remote (void)
if (rda_session_is_local())
remote_technology = REMOTE_TECHNOLOGY_NONE;
-#ifdef WITH_X2GO_AWARENESS
+#ifdef WITH_REMOTE_AWARENESS_X2GO
else if (rda_session_is_x2go())
return TRUE;
#endif
-#ifdef WITH_OGON_AWARENESS
+#ifdef WITH_REMOTE_AWARENESS_OGON
else if (rda_session_is_ogon())
return TRUE;
#endif
@@ -100,13 +100,13 @@ rda_get_remote_technology_name (void)
remote_technology_name = _("local");
break;
-#ifdef WITH_X2GO_AWARENESS
+#ifdef WITH_REMOTE_AWARENESS_X2GO
case REMOTE_TECHNOLOGY_X2GO:
remote_technology_name = _("X2Go");
break;
#endif
-#ifdef WITH_OGON_AWARENESS
+#ifdef WITH_REMOTE_AWARENESS_OGON
case REMOTE_TECHNOLOGY_OGON:
remote_technology_name = _("OgonRDP");
break;
@@ -126,12 +126,12 @@ rda_get_remote_technology_name (void)
gboolean
rda_session_can_be_suspended(void)
{
-#ifdef WITH_X2GO_AWARENESS
+#ifdef WITH_REMOTE_AWARENESS_X2GO
if (rda_session_is_x2go())
return TRUE;
#endif
-#ifdef WITH_OGON_AWARENESS
+#ifdef WITH_REMOTE_AWARENESS_OGON
if (rda_session_is_ogon())
return TRUE;
#endif
@@ -145,12 +145,12 @@ rda_session_can_be_suspended(void)
gboolean
rda_session_suspend(void)
{
-#ifdef WITH_X2GO_AWARENESS
+#ifdef WITH_REMOTE_AWARENESS_X2GO
if (rda_session_is_x2go())
return rda_session_suspend_x2go();
#endif
-#ifdef WITH_OGON_AWARENESS
+#ifdef WITH_REMOTE_AWARENESS_OGON
if (rda_session_is_ogon())
return rda_session_suspend_ogon();
#endif
@@ -161,12 +161,12 @@ rda_session_suspend(void)
gboolean
rda_session_terminate(void)
{
-#ifdef WITH_X2GO_AWARENESS
+#ifdef WITH_REMOTE_AWARENESS_X2GO
if (rda_session_is_x2go())
return rda_session_terminate_x2go();
#endif
-#ifdef WITH_OGON_AWARENESS
+#ifdef WITH_REMOTE_AWARENESS_OGON
if (rda_session_is_ogon())
return rda_session_terminate_ogon();
#endif
diff --git a/src/rda_ogon.c b/src/rda_ogon.c
index 9208850..26c83d1 100644
--- a/src/rda_ogon.c
+++ b/src/rda_ogon.c
@@ -26,7 +26,7 @@
#include <rda.h>
-#ifdef WITH_OGON_AWARENESS
+#ifdef WITH_REMOTE_AWARENESS_OGON
gboolean
rda_session_is_ogon (void)
@@ -95,4 +95,4 @@ rda_session_terminate_ogon(void)
}
}
-#endif /* WITH_OGON_AWARENESS */
+#endif /* WITH_REMOTE_AWARENESS_OGON */
diff --git a/src/rda_ogon.h b/src/rda_ogon.h
index dcd4463..ca7c829 100644
--- a/src/rda_ogon.h
+++ b/src/rda_ogon.h
@@ -29,7 +29,7 @@
#include <rda.h>
-#ifdef WITH_OGON_AWARENESS
+#ifdef WITH_REMOTE_AWARENESS_OGON
gboolean
rda_session_is_ogon (void);
@@ -40,6 +40,6 @@ rda_session_suspend_ogon (void);
gboolean
rda_session_terminate_ogon (void);
-#endif /* WITH_OGON_AWARENESS */
+#endif /* WITH_REMOTE_AWARENESS_OGON */
#endif /* RDA_OGON_H */
diff --git a/src/rda_x2go.c b/src/rda_x2go.c
index 258b6aa..07ebb96 100644
--- a/src/rda_x2go.c
+++ b/src/rda_x2go.c
@@ -26,7 +26,7 @@
#include <rda.h>
-#ifdef WITH_X2GO_AWARENESS
+#ifdef WITH_REMOTE_AWARENESS_X2GO
gboolean
rda_session_is_x2go (void)
@@ -95,4 +95,4 @@ rda_session_terminate_x2go(void)
}
}
-#endif /* WITH_X2GO_AWARENESS */
+#endif /* WITH_REMOTE_AWARENESS_X2GO */
diff --git a/src/rda_x2go.h b/src/rda_x2go.h
index 34b8ebc..26d37a8 100644
--- a/src/rda_x2go.h
+++ b/src/rda_x2go.h
@@ -29,7 +29,7 @@
#include <rda.h>
-#ifdef WITH_X2GO_AWARENESS
+#ifdef WITH_REMOTE_AWARENESS_X2GO
gboolean
rda_session_is_x2go (void);
@@ -40,6 +40,6 @@ rda_session_suspend_x2go(void);
gboolean
rda_session_terminate_x2go(void);
-#endif /* WITH_X2GO_AWARENESS */
+#endif /* WITH_REMOTE_AWARENESS_X2GO */
#endif /* RDA_X2GO_H */