[evolution-data-server] Correct libedataserverui4 main header file ][



commit fa0c62152ae525b06eb986646bde884b51c09085
Author: Milan Crha <mcrha redhat com>
Date:   Thu Jun 23 18:44:02 2022 +0200

    Correct libedataserverui4 main header file ][
    
    ... and also the includes in the public headers to peer headers.

 src/libedataserverui/e-credentials-prompter-impl-oauth2.h   | 4 ++++
 src/libedataserverui/e-credentials-prompter-impl-password.h | 4 ++++
 src/libedataserverui/e-credentials-prompter.h               | 4 ++++
 src/libedataserverui/e-webdav-discover-widget.h             | 4 ++++
 4 files changed, 16 insertions(+)
---
diff --git a/src/libedataserverui/e-credentials-prompter-impl-oauth2.h 
b/src/libedataserverui/e-credentials-prompter-impl-oauth2.h
index 7ed96570b..7817170ae 100644
--- a/src/libedataserverui/e-credentials-prompter-impl-oauth2.h
+++ b/src/libedataserverui/e-credentials-prompter-impl-oauth2.h
@@ -31,7 +31,11 @@
 #endif
 #endif
 
+#if GTK_CHECK_VERSION(4, 0, 0)
+#include <libedataserverui4/e-credentials-prompter-impl.h>
+#else
 #include <libedataserverui/e-credentials-prompter-impl.h>
+#endif
 
 /* Standard GObject macros */
 #define E_TYPE_CREDENTIALS_PROMPTER_IMPL_OAUTH2 \
diff --git a/src/libedataserverui/e-credentials-prompter-impl-password.h 
b/src/libedataserverui/e-credentials-prompter-impl-password.h
index 22cbd70e6..6ce37a72a 100644
--- a/src/libedataserverui/e-credentials-prompter-impl-password.h
+++ b/src/libedataserverui/e-credentials-prompter-impl-password.h
@@ -30,7 +30,11 @@
 #endif
 #endif
 
+#if GTK_CHECK_VERSION(4, 0, 0)
+#include <libedataserverui4/e-credentials-prompter-impl.h>
+#else
 #include <libedataserverui/e-credentials-prompter-impl.h>
+#endif
 
 /* Standard GObject macros */
 #define E_TYPE_CREDENTIALS_PROMPTER_IMPL_PASSWORD \
diff --git a/src/libedataserverui/e-credentials-prompter.h b/src/libedataserverui/e-credentials-prompter.h
index 2e98b899d..62c75cf72 100644
--- a/src/libedataserverui/e-credentials-prompter.h
+++ b/src/libedataserverui/e-credentials-prompter.h
@@ -34,7 +34,11 @@
 
 #include <libedataserver/libedataserver.h>
 
+#if GTK_CHECK_VERSION(4, 0, 0)
+#include <libedataserverui4/e-credentials-prompter-impl.h>
+#else
 #include <libedataserverui/e-credentials-prompter-impl.h>
+#endif
 
 /* Standard GObject macros */
 #define E_TYPE_CREDENTIALS_PROMPTER \
diff --git a/src/libedataserverui/e-webdav-discover-widget.h b/src/libedataserverui/e-webdav-discover-widget.h
index 42fc81ec0..95eb09091 100644
--- a/src/libedataserverui/e-webdav-discover-widget.h
+++ b/src/libedataserverui/e-webdav-discover-widget.h
@@ -30,7 +30,11 @@
 #endif
 
 #include <libedataserver/libedataserver.h>
+#if GTK_CHECK_VERSION(4, 0, 0)
+#include <libedataserverui4/e-credentials-prompter.h>
+#else
 #include <libedataserverui/e-credentials-prompter.h>
+#endif
 
 G_BEGIN_DECLS
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]