[gtk/matthiasc/cloudprovider-ci] Use the appropriate include for libcloudproviders



commit 12c38c1d57dea889441bdfaaf5c438e2a6bbcbf0
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Jun 17 20:49:57 2020 +0100

    Use the appropriate include for libcloudproviders
    
    Libcloudproviders has a single header entry point, so we shouldn't
    include a sub-header.
    
    Additionally, the include path provided by the pkg-config file is:
    
      -I${includedir}/cloudproviders
    
    So the include directive should be:
    
      #include <cloudproviders.h>
    
    The fact that it worked until now was an accident caused by the blanket:
    
      -I${includedir}
    
    we get for free; it broke the build when using libcloudproviders as a
    subproject.

 gtk/gtksidebarrow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtksidebarrow.c b/gtk/gtksidebarrow.c
index 0a2749a122..fbd90b66bb 100644
--- a/gtk/gtksidebarrow.c
+++ b/gtk/gtksidebarrow.c
@@ -30,7 +30,7 @@
 #include "gtkspinner.h"
 
 #ifdef HAVE_CLOUDPROVIDERS
-#include <cloudproviders/cloudprovidersaccount.h>
+#include <cloudproviders.h>
 #endif
 
 struct _GtkSidebarRow


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